#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();
-#ifdef __WXWINCE__
- WXHWND GetCommandBar() { return m_commandBar; }
- WXHWND CreateCommandBar() ;
- void RemoveCommandBar() ;
-#endif
-
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);
#if wxUSE_TOOLTIPS
WXHWND m_hwndToolTip;
#endif // tooltips
-#ifdef __WXWINCE__
- WXHWND m_commandBar;
-#endif
// used by IconizeChildFrames(), see comments there
bool m_wasMinimized;
DECLARE_EVENT_TABLE()
- DECLARE_DYNAMIC_CLASS(wxFrame)
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxFrame)
};
#endif