X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4071e913e85e35024ee5883a0a046f0fd6332bf..e55ad60e195f1007db921b2a73a3cac98ed9df65:/include/wx/gtk/window.h diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index ae7e532f27..b4fc2002ed 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -61,6 +61,8 @@ extern const wxPoint wxDefaultPosition; class wxWindow: public wxEvtHandler { + DECLARE_DYNAMIC_CLASS(wxWindow) + public: wxWindow(); inline wxWindow(wxWindow *parent, wxWindowID id, @@ -228,15 +230,17 @@ public: virtual bool AcceptsFocus() const; void UpdateWindowUI(); -public: // cannot get private going yet - + // implementation + virtual GtkWidget* GetConnectWidget(void); virtual bool IsOwnGtkWindow( GdkWindow *window ); + void ConnectWidget( GtkWidget *widget ); + void ConnectDnDWidget( GtkWidget *widget ); + void DisconnectDnDWidget( GtkWidget *widget ); void PreCreation( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, long style, const wxString &name ); void PostCreation(); - void ConnectWidget( GtkWidget *widget ); bool HasVMT(); virtual void ImplementSetSize(); virtual void ImplementSetPosition(); @@ -313,7 +317,6 @@ public: virtual void GetClientSizeConstraint(int *w, int *h) const ; virtual void GetPositionConstraint(int *x, int *y) const ; - DECLARE_DYNAMIC_CLASS(wxWindow) DECLARE_EVENT_TABLE() };