diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index 7ed817ac56..f6eee0b5fe 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -99,8 +99,6 @@ public: virtual void SetDeviceOrigin( wxCoord x, wxCoord y ); virtual void SetAxisOrientation( bool xLeftRight, bool yBottomUp ); - virtual GdkWindow* GetGDKWindow() const { return m_window; } - // protected: // implementation // -------------- @@ -128,7 +126,7 @@ public: protected: virtual void ComputeScaleAndOrigin(); - GdkWindow *GetWindow() { return m_window; } + virtual GdkWindow *GetGDKWindow() const { return m_window; } private: DECLARE_DYNAMIC_CLASS(wxWindowDC)