#pragma interface "toplevel.h"
#endif
-enum ETemplateID { kResizeableDialog = 1000
+enum ETemplateID { kResizeableDialog = 127
,kCaptionDialog
,kNoCaptionDialog
};
virtual bool IsMaximized(void) const;
virtual void Maximize(bool bMaximize = TRUE);
virtual void Restore(void);
+ virtual void SendSizeEvent(void);
virtual void SetIcon(const wxIcon& rIcon);
virtual bool Show(bool bShow = TRUE);
virtual bool ShowFullScreen( bool bShow
// Implementation from now on
// --------------------------
//
- virtual void AlterChildPos(void); // OS/2 child control positioning
- virtual void UpdateInternalSize( wxWindow* pChild
- ,int nHeight
- );
+ PSWP GetSwpClient(void) { return &m_vSwpClient; }
protected:
//
// Common part of all ctors
) const;
//
- // Get the OS/2 window flags corresponding to wxWindows ones
+ // Translate wxWindows flags into OS flags
//
- // The functions returns the flags (WS_XXX) directly and puts the ext
- // (WS_EX_XXX) flags into the provided pointer if not NULL
- //
- long OS2GetCreateWindowFlags(long* lExflags) const;
-
+ virtual WXDWORD OS2GetStyle( long lFlag
+ ,WXDWORD* pdwExstyle
+ ) const;
//
// Is the frame currently iconized?
//
WXHWND m_hFrame;
SWP m_vSwp;
SWP m_vSwpClient;
+ static bool m_sbInitialized;
}; // end of CLASS wxTopLevelWindowOS2
//