]> git.saurik.com Git - wxWidgets.git/commitdiff
Add wxRTTI info for the event class
authorRobin Dunn <robin@alldunn.com>
Sat, 8 Jul 2006 02:19:03 +0000 (02:19 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 8 Jul 2006 02:19:03 +0000 (02:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/aui/framemanager.h
src/aui/framemanager.cpp

index e379daef39676f1dadc6bdae562b2004d7e3dc9f..f684c3e677c1ed12f8b55bc7110c08527a10275e 100644 (file)
@@ -382,6 +382,9 @@ public:
     void SetFrame(wxFrame* frame);
     wxFrame* GetFrame() const;
 
+#ifdef SWIG
+    %disownarg( wxDockArt* art_provider );
+#endif
     void SetArtProvider(wxDockArt* art_provider);
     wxDockArt* GetArtProvider() const;
 
@@ -397,7 +400,7 @@ public:
                  const wxString& caption = wxEmptyString);
 
     bool InsertPane(wxWindow* window,
-                 const wxPaneInfo& pane_info,
+                 const wxPaneInfo& insert_location,
                  int insert_level = wxAUI_INSERT_PANE);
 
     bool DetachPane(wxWindow* window);
@@ -524,7 +527,7 @@ protected:
 class WXDLLIMPEXP_AUI wxFrameManagerEvent : public wxEvent
 {
 public:
-    wxFrameManagerEvent(wxEventType type) : wxEvent(0, type)
+    wxFrameManagerEvent(wxEventType type=wxEVT_NULL) : wxEvent(0, type)
     {
         pane = NULL;
         button = 0;
@@ -557,6 +560,11 @@ public:
     int button;
     bool veto_flag;
     bool canveto_flag;
+
+#ifndef SWIG
+private:
+    DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxFrameManagerEvent)
+#endif
 };
 
 
index d77de4063368f4c95b83bd43245bcba2982c1019..72799379ecae01395811b16475bf93f1aa57b5e2 100644 (file)
@@ -61,6 +61,8 @@ DEFINE_EVENT_TYPE(wxEVT_AUI_PANECLOSE)
     #include "wx/mac/private.h"
 #endif
 
+IMPLEMENT_DYNAMIC_CLASS(wxFrameManagerEvent, wxEvent)
+
 
 // -- static utility functions --