From af672b5ae860d453e685ec1ad4181f49254abfa8 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 8 Jul 2006 02:19:03 +0000 Subject: [PATCH] Add wxRTTI info for the event class git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/aui/framemanager.h | 12 ++++++++++-- src/aui/framemanager.cpp | 2 ++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/include/wx/aui/framemanager.h b/include/wx/aui/framemanager.h index e379daef39..f684c3e677 100644 --- a/include/wx/aui/framemanager.h +++ b/include/wx/aui/framemanager.h @@ -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 }; diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index d77de40633..72799379ec 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -61,6 +61,8 @@ DEFINE_EVENT_TYPE(wxEVT_AUI_PANECLOSE) #include "wx/mac/private.h" #endif +IMPLEMENT_DYNAMIC_CLASS(wxFrameManagerEvent, wxEvent) + // -- static utility functions -- -- 2.45.2