X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bcf1fa6bb46c38751072a1b5294bbd803ceb657e..851b94590af2d79a598d91a7306e3cc9d6dc2bf7:/include/wx/gtk/window.h diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 665c3ee0c7..bd18a96e90 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,10 +230,13 @@ 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 ); @@ -271,6 +276,8 @@ public: // cannot get private going yet float m_oldVerticalPos; bool m_needParent; bool m_hasScrolling; + bool m_isScrolling; + bool m_hasOwnStyle; bool m_hasVMT; bool m_sizeSet; bool m_resizing; @@ -311,7 +318,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() };