summaryrefslogtreecommitdiff
path: root/common/basewnd.h
diff options
context:
space:
mode:
authorleo2006-02-16 00:43:45 +0000
committerleo2006-02-16 00:43:45 +0000
commitfbfc76ee445a633ff94b8f155a0781ea71a9d941 (patch)
treee15cd7cd6de1becf01a250be59b7a92c4d35bb2b /common/basewnd.h
parentfc7282961f5c8021060f46301bbf2ae9733c6752 (diff)
OS X config script
git-svn-id: http://svn.leocad.org/trunk@477 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/basewnd.h')
-rw-r--r--common/basewnd.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/common/basewnd.h b/common/basewnd.h
index 1af4db6..f26f4f5 100644
--- a/common/basewnd.h
+++ b/common/basewnd.h
@@ -13,9 +13,9 @@ typedef struct
int index;
UINT command;
} BaseMenuItem;
+#endif
-#else
-
+#ifdef LC_LINUX
#include <gtk/gtk.h>
typedef GtkWidget* BaseWndXID;
typedef struct
@@ -25,6 +25,14 @@ typedef struct
} BaseMenuItem;
#endif
+#ifdef LC_MACOSX
+typedef void* BaseWndXID;
+typedef struct
+{
+ void* Dummy;
+} BaseMenuItem;
+#endif
+
// =============================================================================
// Message Box constants
@@ -74,7 +82,7 @@ class BaseWnd
void SetXID (BaseWndXID id)
{ m_pXID = id; }
-#ifndef WIN32
+#ifdef LC_LINUX
// FIXME: remove
operator GtkWidget* () const
{ return m_pXID; }