no message

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2000-03-07 21:26:54 +00:00
parent fbf5995c02
commit 3e282d337f
2 changed files with 21 additions and 12 deletions

View File

@@ -73,6 +73,11 @@ public:
// menu handle depending on what we're // menu handle depending on what we're
int GetRealId(void) const; int GetRealId(void) const;
//
// All OS/2PM Submenus and menus have one of these
//
MENUITEM m_vMenuData;
private: private:
DECLARE_DYNAMIC_CLASS(wxMenuItem) DECLARE_DYNAMIC_CLASS(wxMenuItem)
}; // end of CLASS wxMenuItem }; // end of CLASS wxMenuItem

View File

@@ -47,7 +47,10 @@ enum
class WXDLLEXPORT wxWindow : public wxWindowBase class WXDLLEXPORT wxWindow : public wxWindowBase
{ {
public: public:
wxWindow() { Init(); } wxWindow()
{
Init();
}
wxWindow( wxWindow* pParent wxWindow( wxWindow* pParent
,wxWindowID vId ,wxWindowID vId
@@ -244,18 +247,19 @@ public:
virtual bool ContainsHWND(WXHWND WXUNUSED(hWnd)) const { return FALSE; }; virtual bool ContainsHWND(WXHWND WXUNUSED(hWnd)) const { return FALSE; };
// returns TRUE if the window has been created // returns TRUE if the window has been created
bool OS2Create( int nId bool OS2Create( WXHWND hParent
,wxWindow* pParent ,PSZ zClass
,const wxChar* zWclass
,wxWindow* pWxWin
,const wxChar* zTitle ,const wxChar* zTitle
,int nX
,int nY
,int nWidth
,int nHeight
,WXDWORD dwStyle ,WXDWORD dwStyle
,const wxChar* zDialogTemplate = NULL ,long lX
,WXDWORD dwExendedStyle = 0 ,long lY
,long lWidth
,long lHeight
,WXHWND hOwner
,WXHWND hZOrder
,unsigned long lId
,void* pCtlData = NULL
,void* pPresParams = NULL
); );
virtual bool OS2Command( WXUINT uParam virtual bool OS2Command( WXUINT uParam
,WXWORD nId ,WXWORD nId
@@ -511,7 +515,7 @@ protected:
// move the window to the specified location and resize it: this is called // move the window to the specified location and resize it: this is called
// from both DoSetSize() and DoSetClientSize() and would usually just call // from both DoSetSize() and DoSetClientSize() and would usually just call
// ::MoveWindow() except for composite controls which will want to arrange // ::WinSetWindowPos() except for composite controls which will want to arrange
// themselves inside the given rectangle // themselves inside the given rectangle
virtual void DoMoveWindow( int nX virtual void DoMoveWindow( int nX
,int nY ,int nY