X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d921af5140af576cf7651d4f47d5dc00a83e37f5..ca16b7a98e70752eb57448571d7223052834550f:/include/wx/mac/dcclient.h diff --git a/include/wx/mac/dcclient.h b/include/wx/mac/dcclient.h index 9bda493d6f..8e01314084 100644 --- a/include/wx/mac/dcclient.h +++ b/include/wx/mac/dcclient.h @@ -12,7 +12,7 @@ #ifndef _WX_DCCLIENT_H_ #define _WX_DCCLIENT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcclient.h" #endif @@ -36,6 +36,9 @@ class WXDLLEXPORT wxWindowDC: public wxDC wxWindowDC(wxWindow *win); ~wxWindowDC(void); + virtual void DoGetSize( int *width, int *height ) const; + protected : + wxWindow *m_window; }; @@ -50,6 +53,7 @@ class WXDLLEXPORT wxClientDC: public wxWindowDC wxClientDC(wxWindow *win); ~wxClientDC(void); + virtual void DoGetSize( int *width, int *height ) const; }; class WXDLLEXPORT wxPaintDC: public wxWindowDC @@ -63,6 +67,7 @@ class WXDLLEXPORT wxPaintDC: public wxWindowDC wxPaintDC(wxWindow *win); ~wxPaintDC(void); + virtual void DoGetSize( int *width, int *height ) const; }; #endif