Some needed OS/2 things in the base class for OS/2 Toplevel support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -143,6 +143,11 @@ public:
|
|||||||
// so should be there for all platforms
|
// so should be there for all platforms
|
||||||
void OnActivate(wxActivateEvent &WXUNUSED(event)) { }
|
void OnActivate(wxActivateEvent &WXUNUSED(event)) { }
|
||||||
|
|
||||||
|
#ifdef __WXPM__
|
||||||
|
// because of OS/2's backwards coordinate system we need something
|
||||||
|
// to call to position child windows anytime we get resized.
|
||||||
|
virtual void AlterChildPos(void) = 0; // OS/2 child control positioning
|
||||||
|
#endif
|
||||||
protected:
|
protected:
|
||||||
// the frame client to screen translation should take account of the
|
// the frame client to screen translation should take account of the
|
||||||
// toolbar which may shift the origin of the client area
|
// toolbar which may shift the origin of the client area
|
||||||
@@ -159,6 +164,9 @@ protected:
|
|||||||
// (menubar, toolbar and statusbar are excluded from automatic layout)
|
// (menubar, toolbar and statusbar are excluded from automatic layout)
|
||||||
virtual bool IsOneOfBars(const wxWindow *WXUNUSED(win)) const { return FALSE; }
|
virtual bool IsOneOfBars(const wxWindow *WXUNUSED(win)) const { return FALSE; }
|
||||||
|
|
||||||
|
#ifdef __WXPM__
|
||||||
|
SWP m_vSwpClient;
|
||||||
|
#endif
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -176,6 +184,9 @@ protected:
|
|||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/toplevel.h"
|
#include "wx/mac/toplevel.h"
|
||||||
#define wxTopLevelWindowNative wxTopLevelWindowMac
|
#define wxTopLevelWindowNative wxTopLevelWindowMac
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/toplevel.h"
|
||||||
|
#define wxTopLevelWindowNative wxTopLevelWindowOS2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __WXUNIVERSAL__
|
#ifdef __WXUNIVERSAL__
|
||||||
|
Reference in New Issue
Block a user