projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed tons of unused stuff apparently copied verbatim from MS headers (argh!!)...
[wxWidgets.git]
/
include
/
wx
/
os2
/
toplevel.h
diff --git
a/include/wx/os2/toplevel.h
b/include/wx/os2/toplevel.h
index d0e1a3e469062106085f11bbcde7e55b3df14e9f..0ab1d94d197103a26ad18949ee16ac291afacead 100644
(file)
--- a/
include/wx/os2/toplevel.h
+++ b/
include/wx/os2/toplevel.h
@@
-16,7
+16,7
@@
#pragma interface "toplevel.h"
#endif
#pragma interface "toplevel.h"
#endif
-enum ETemplateID { kResizeableDialog = 1
27
+enum ETemplateID { kResizeableDialog = 1
30
,kCaptionDialog
,kNoCaptionDialog
};
,kCaptionDialog
,kNoCaptionDialog
};
@@
-86,6
+86,11
@@
public:
// --------------------------
//
PSWP GetSwpClient(void) { return &m_vSwpClient; }
// --------------------------
//
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
protected:
//
// Common part of all ctors
@@
-157,11
+162,15
@@
protected:
bool m_bFsIsMaximized;
bool m_bFsIsShowing;
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;
WXHWND m_hFrame;
SWP m_vSwp;
SWP m_vSwpClient;
static bool m_sbInitialized;
static wxWindow* m_spHiddenParent;
+
+ DECLARE_EVENT_TABLE()
}; // end of CLASS wxTopLevelWindowOS2
//
}; // end of CLASS wxTopLevelWindowOS2
//