#ifndef _WX_FRAME_H_
#define _WX_FRAME_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "frame.h"
#endif
// 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();
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