]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/mdi.i
uint -> size_t change
[wxWidgets.git] / utils / wxPython / src / mdi.i
index cdcacdf9b29de9ae06d3bf1930e358ba049168fb..5cc56043b33e55c2a135c2f48c29521882479e5e 100644 (file)
@@ -1,5 +1,3 @@
-%module mdi
-%{
 /////////////////////////////////////////////////////////////////////////////
 // Name:        mdi.i
 // Purpose:     MDI related class definitions for wxPython
@@ -13,6 +11,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 
+%module mdi
+
+%{
 #include "helpers.h"
 %}
 
@@ -50,7 +51,9 @@ public:
     // TODO:  This isn't handled by the standard event-table system...
     //wxMDIClientWindow* OnCreateClient();
 
+#ifdef __WXMSW__
     void SetToolBar(wxToolBar* toolbar);
+#endif
     void Tile();
 };
 
@@ -69,6 +72,11 @@ public:
     void Activate();
     void Maximize();
     void Restore();
+
+    void SetMenuBar(wxMenuBar *menu_bar);
+    void SetClientSize(int width, int height);
+    void GetPosition(int* OUTPUT, int* OUTPUT) const ;
+
 };
 
 
@@ -83,6 +91,18 @@ public:
 /////////////////////////////////////////////////////////////////////////////
 //
 // $Log$
+// Revision 1.3  1998/08/18 19:48:18  RD
+// more wxGTK compatibility things.
+//
+// It builds now but there are serious runtime problems...
+//
+// Revision 1.2  1998/08/15 07:36:39  RD
+// - Moved the header in the .i files out of the code that gets put into
+// the .cpp files.  It caused CVS conflicts because of the RCS ID being
+// different each time.
+//
+// - A few minor fixes.
+//
 // Revision 1.1  1998/08/09 08:25:51  RD
 // Initial version
 //