Removing OS/2 specific positioning methods, no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -83,11 +83,6 @@ public:
|
||||
// Implementation from now on
|
||||
// --------------------------
|
||||
//
|
||||
virtual void AlterChildPos(void); // OS/2 child control positioning
|
||||
virtual void UpdateInternalSize( wxWindow* pChild
|
||||
,int nWidth
|
||||
,int nHeight
|
||||
);
|
||||
PSWP GetSwpClient(void) { return &m_vSwpClient; }
|
||||
protected:
|
||||
//
|
||||
|
@@ -453,6 +453,7 @@ public:
|
||||
);
|
||||
|
||||
void MoveChildren(int nDiff);
|
||||
PSWP GetSwp(void) {return &m_vWinSwp;}
|
||||
|
||||
protected:
|
||||
// PM can't create some MSW styles natively but can perform these after
|
||||
@@ -541,7 +542,6 @@ protected:
|
||||
#endif // wxUSE_TOOLTIPS
|
||||
|
||||
int GetOS2ParentHeight(wxWindowOS2* pParent);
|
||||
virtual void OS2Layout(int nWidth, int nHeight);
|
||||
|
||||
private:
|
||||
// common part of all ctors
|
||||
@@ -572,6 +572,7 @@ private:
|
||||
private:
|
||||
HWND m_hWndScrollBarHorz;
|
||||
HWND m_hWndScrollBarVert;
|
||||
SWP m_vWinSwp;
|
||||
|
||||
// Virtual function hiding supression
|
||||
inline virtual bool Reparent(wxWindowBase* pNewParent)
|
||||
|
@@ -122,15 +122,6 @@ public:
|
||||
// so should be there for all platforms
|
||||
void OnActivate(wxActivateEvent &WXUNUSED(event)) { }
|
||||
|
||||
// Override in derived, platfrom specific, class if your OS coordinate
|
||||
// system uses anything other than the top left as 0,0. The second
|
||||
// method updates any internal sizing parameters such as OS/2's SWP struct
|
||||
inline virtual void AlterChildPos(void) { }
|
||||
inline virtual void UpdateInternalSize( wxWindow* WXUNUSED(pChild)
|
||||
,int WXUNUSED(nWidth)
|
||||
,int WXUNUSED(nHeight)
|
||||
) { }
|
||||
|
||||
protected:
|
||||
// the frame client to screen translation should take account of the
|
||||
// toolbar which may shift the origin of the client area
|
||||
|
@@ -962,10 +962,6 @@ protected:
|
||||
// a toolbar that it manages itself).
|
||||
virtual void AdjustForParentClientOrigin(int& x, int& y, int sizeFlags);
|
||||
|
||||
#ifdef __WXPM__
|
||||
// extra OS/2 layout processing
|
||||
virtual void OS2Layout(int width, int height) { };
|
||||
#endif
|
||||
|
||||
private:
|
||||
|
||||
|
Reference in New Issue
Block a user