Headers to support 'Y' positioning fixes for OS/2 controls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-12-21 18:09:02 +00:00
parent d8a3f66ca7
commit 3a50d19cae
3 changed files with 14 additions and 8 deletions

View File

@@ -115,12 +115,12 @@ public:
void GetSize( int* pnX
,int* pnY
) const;
void GetSizeFlags(void) const;
inline int GetSizeFlags(void) const { return m_nSizeFlags; }
void AdjustButtons( int nX
,int nY
,int nWidth
,int nHeight
,int lSizeFlags
,int nSizeFlags
);
wxString GetString(int nIndex) const;
virtual wxString GetStringSelection(void) const;
@@ -146,12 +146,6 @@ public:
protected:
void AdjustButtons( int nX
,int nY
,int nWidth
,int nHeight
,long lSizeFlags
);
virtual wxSize DoGetBestSize(void) const;
virtual void DoSetSize( int nX
,int nY

View File

@@ -113,6 +113,13 @@ public:
inline WXHWND GetStaticMax(void) const { return m_hStaticMax; }
inline WXHWND GetEditValue(void) const { return m_hStaticValue; }
virtual bool ContainsHWND(WXHWND hWnd) const;
void AdjustSubControls( int nX
,int nY
,int nWidth
,int nHeight
,int nSizeFlags
);
inline int GetSizeFlags(void) { return m_nSizeFlags; }
void Command(wxCommandEvent& rEvent);
virtual WXHBRUSH OnCtlColor( WXHDC hDC
,WXHWND hWnd
@@ -138,6 +145,7 @@ protected:
int m_nTickFreq;
double m_dPixelToRange;
int m_nThumbLength;
int m_nSizeFlags;
virtual void DoSetSize( int nX
,int nY

View File

@@ -441,6 +441,8 @@ public:
,WXUINT uFlags
);
void MoveChildren(int nDiff);
protected:
// PM can't create some MSW styles natively but can perform these after
// creation by sending messages
@@ -524,6 +526,8 @@ protected:
virtual void DoSetToolTip(wxToolTip* pTip);
#endif // wxUSE_TOOLTIPS
int GetOS2ParentHeight(wxWindowOS2* pParent);
private:
// common part of all ctors
void Init(void);