#pragma interface "toplevel.h"
#endif
-enum ETemplateID { kResizeableDialog = 127
+enum ETemplateID { kResizeableDialog = 130
,kCaptionDialog
,kNoCaptionDialog
};
// --------------------------
//
PSWP GetSwpClient(void) { return &m_vSwpClient; }
+
+ void OnActivate(wxActivateEvent& rEvent);
+
+ void SetLastFocus(wxWindow *pWin) { m_pWinLastFocused = pWin; }
+ wxWindow* GetLastFocus(void) const { return m_pWinLastFocused; }
protected:
//
// Common part of all ctors
bool m_bFsIsMaximized;
bool m_bFsIsShowing;
+ wxWindow* m_pWinLastFocused;
+
WXHWND m_hFrame;
SWP m_vSwp;
SWP m_vSwpClient;
static bool m_sbInitialized;
static wxWindow* m_spHiddenParent;
+
+ DECLARE_EVENT_TABLE()
}; // end of CLASS wxTopLevelWindowOS2
//