X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7c24517cb80580118ebd4ef1deb526be627c29c..14204c7acc3f89b59b07580da7da3448fb49f23b:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index e0779b8b16..b84b81fb49 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -12,6 +12,10 @@ #ifndef _WX_WINDOW_H_BASE_ #define _WX_WINDOW_H_BASE_ +#ifdef __GNUG__ + #pragma interface "windowbase.h" +#endif + // ---------------------------------------------------------------------------- // headers which we must include here // ---------------------------------------------------------------------------- @@ -33,7 +37,7 @@ class WXDLLEXPORT wxClientData; class WXDLLEXPORT wxControl; class WXDLLEXPORT wxCursor; -class WXDLLEXPORT wxDc; +class WXDLLEXPORT wxDC; class WXDLLEXPORT wxDropTarget; class WXDLLEXPORT wxItemResource; class WXDLLEXPORT wxLayoutConstraints; @@ -424,7 +428,7 @@ public: virtual void Clear() = 0; // adjust DC for drawing on this window - virtual void PrepareDC( wxDC &dc ) { } + virtual void PrepareDC( wxDC & WXUNUSED(dc) ) { } // the update region of the window contains the areas which must be // repainted by the program @@ -719,6 +723,10 @@ private: // contains the last id generated by NewControlId static int ms_lastControlId; + // no copy ctor/assignment operator + wxWindowBase(const wxWindowBase&); + wxWindowBase& operator=(const wxWindowBase&); + DECLARE_EVENT_TABLE() };