X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..478ba84485d00d0d9a80ce3304f226355f457471:/include/wx/msw/frame.h diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 7222108b45..b858afcd54 100644 --- a/include/wx/msw/frame.h +++ b/include/wx/msw/frame.h @@ -12,7 +12,7 @@ #ifndef _WX_FRAME_H_ #define _WX_FRAME_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "frame.h" #endif @@ -102,6 +102,8 @@ public: // current size - this has an effect of refreshing the window layout virtual void SendSizeEvent(); + virtual wxPoint GetClientAreaOrigin() const; + protected: // common part of all ctors void Init(); @@ -126,14 +128,14 @@ protected: bool MSWTranslateMessage(WXMSG* pMsg); // window proc for the frames - long MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); + WXLRESULT MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); // handle WM_INITMENUPOPUP message bool HandleInitMenuPopup(WXHMENU hMenu); virtual bool IsMDIChild() const { return FALSE; } - // get default (wxWindows) icon for the frame + // get default (wxWidgets) icon for the frame virtual WXHICON GetDefaultIcon() const; #if wxUSE_STATUSBAR