]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/frames.i
Added classinfo macros for wxTreeEvent
[wxWidgets.git] / wxPython / src / frames.i
index 62e49013c87ffa626a71d4af44a706dc68813c2f..86c9ad7fe6ba04a338325fc27d66b8628cc1e060 100644 (file)
@@ -16,6 +16,7 @@
 %{
 #include "helpers.h"
 #include <wx/minifram.h>
+#include <wx/tipwin.h>
 %}
 
 //----------------------------------------------------------------------
@@ -51,8 +52,13 @@ public:
             const wxSize& size = wxDefaultSize,
             long style = wxDEFAULT_FRAME_STYLE,
             char* name = "frame");
+    %name(wxPreFrame)wxFrame();
 
-    %pragma(python) addtomethod = "__init__:#wx._StdFrameCallbacks(self)"
+    bool Create(wxWindow* parent, const wxWindowID id, const wxString& title,
+                const wxPoint& pos = wxDefaultPosition,
+                const wxSize& size = wxDefaultSize,
+                long style = wxDEFAULT_FRAME_STYLE,
+                char* name = "frame");
 
     void Centre(int direction = wxBOTH);
     wxStatusBar* CreateStatusBar(int number = 1,
@@ -85,9 +91,8 @@ public:
     wxPoint GetClientAreaOrigin() const;
     bool Command(int id);
     bool ProcessCommand(int id);
-#ifdef __WXMSW__
     bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
-#endif
+    bool IsFullScreen();
 };
 
 //---------------------------------------------------------------------------
@@ -99,8 +104,24 @@ public:
                 const wxSize& size = wxDefaultSize,
                 long style = wxDEFAULT_FRAME_STYLE,
                 char* name = "frame");
+    %name(wxPreMiniFrame)wxMiniFrame();
+
+    bool Create(wxWindow* parent, const wxWindowID id, const wxString& title,
+                const wxPoint& pos = wxDefaultPosition,
+                const wxSize& size = wxDefaultSize,
+                long style = wxDEFAULT_FRAME_STYLE,
+                char* name = "frame");
+};
+
 
-    %pragma(python) addtomethod = "__init__:#wx._StdFrameCallbacks(self)"
+//---------------------------------------------------------------------------
+
+class wxTipWindow : public wxFrame
+{
+public:
+    wxTipWindow(wxWindow *parent,
+                const wxString& text,
+                wxCoord maxLength = 100);
 };