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:
		| @@ -115,12 +115,12 @@ public: | |||||||
|                    void     GetSize( int* pnX |                    void     GetSize( int* pnX | ||||||
|                                     ,int* pnY |                                     ,int* pnY | ||||||
|                                    ) const; |                                    ) const; | ||||||
|                    void     GetSizeFlags(void) const; |     inline         int      GetSizeFlags(void) const { return m_nSizeFlags; } | ||||||
|                    void     AdjustButtons( int nX |                    void     AdjustButtons( int nX | ||||||
|                                           ,int nY |                                           ,int nY | ||||||
|                                           ,int nWidth |                                           ,int nWidth | ||||||
|                                           ,int nHeight |                                           ,int nHeight | ||||||
|                                           ,int lSizeFlags |                                           ,int nSizeFlags | ||||||
|                                          ); |                                          ); | ||||||
|                    wxString GetString(int nIndex) const; |                    wxString GetString(int nIndex) const; | ||||||
|            virtual wxString GetStringSelection(void) const; |            virtual wxString GetStringSelection(void) const; | ||||||
| @@ -146,12 +146,6 @@ public: | |||||||
|  |  | ||||||
|  |  | ||||||
| protected: | protected: | ||||||
|             void   AdjustButtons( int  nX |  | ||||||
|                                ,int  nY |  | ||||||
|                                ,int  nWidth |  | ||||||
|                                ,int  nHeight |  | ||||||
|                                ,long lSizeFlags |  | ||||||
|                               ); |  | ||||||
|     virtual wxSize DoGetBestSize(void) const; |     virtual wxSize DoGetBestSize(void) const; | ||||||
|     virtual void   DoSetSize( int nX |     virtual void   DoSetSize( int nX | ||||||
|                              ,int nY |                              ,int nY | ||||||
|   | |||||||
| @@ -113,6 +113,13 @@ public: | |||||||
|     inline         WXHWND   GetStaticMax(void) const { return m_hStaticMax; } |     inline         WXHWND   GetStaticMax(void) const { return m_hStaticMax; } | ||||||
|     inline         WXHWND   GetEditValue(void) const { return m_hStaticValue; } |     inline         WXHWND   GetEditValue(void) const { return m_hStaticValue; } | ||||||
|            virtual bool     ContainsHWND(WXHWND hWnd) const; |            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); |                    void     Command(wxCommandEvent& rEvent); | ||||||
|            virtual WXHBRUSH OnCtlColor( WXHDC    hDC |            virtual WXHBRUSH OnCtlColor( WXHDC    hDC | ||||||
|                                        ,WXHWND   hWnd |                                        ,WXHWND   hWnd | ||||||
| @@ -138,6 +145,7 @@ protected: | |||||||
|     int                             m_nTickFreq; |     int                             m_nTickFreq; | ||||||
|     double                          m_dPixelToRange; |     double                          m_dPixelToRange; | ||||||
|     int                             m_nThumbLength; |     int                             m_nThumbLength; | ||||||
|  |     int                             m_nSizeFlags; | ||||||
|  |  | ||||||
|     virtual void DoSetSize( int  nX |     virtual void DoSetSize( int  nX | ||||||
|                            ,int  nY |                            ,int  nY | ||||||
|   | |||||||
| @@ -441,6 +441,8 @@ public: | |||||||
|                         ,WXUINT        uFlags |                         ,WXUINT        uFlags | ||||||
|                        ); |                        ); | ||||||
|  |  | ||||||
|  |     void MoveChildren(int nDiff); | ||||||
|  |  | ||||||
| protected: | protected: | ||||||
|     // PM can't create some MSW styles natively but can perform these after |     // PM can't create some MSW styles natively but can perform these after | ||||||
|     // creation by sending messages |     // creation by sending messages | ||||||
| @@ -524,6 +526,8 @@ protected: | |||||||
|     virtual void DoSetToolTip(wxToolTip* pTip); |     virtual void DoSetToolTip(wxToolTip* pTip); | ||||||
| #endif // wxUSE_TOOLTIPS | #endif // wxUSE_TOOLTIPS | ||||||
|  |  | ||||||
|  |     int  GetOS2ParentHeight(wxWindowOS2* pParent); | ||||||
|  |  | ||||||
| private: | private: | ||||||
|     // common part of all ctors |     // common part of all ctors | ||||||
|     void Init(void); |     void Init(void); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user