fixed initial focus handling in the dialog and made SetFocus() send the focus

events as under wxMSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-04-20 13:53:11 +00:00
parent 33b494d643
commit 6aeb6f2a58
9 changed files with 159 additions and 318 deletions

View File

@@ -92,13 +92,18 @@ public:
long m_fsSaveGdkFunc, m_fsSaveGdkDecor;
long m_fsSaveFlag;
wxRect m_fsSaveFrame;
long m_gdkFunc, m_gdkDecor; // m_windowStyle translated to GDK's terms
// m_windowStyle translated to GDK's terms
long m_gdkFunc,
m_gdkDecor;
protected:
// common part of all ctors
void Init();
// focus event handler
void OnSetFocus(wxFocusEvent& event);
// override wxWindow methods to take into account tool/menu/statusbars
virtual void DoSetSize(int x, int y,
int width, int height,
@@ -109,6 +114,8 @@ protected:
// is the frame currently iconized?
bool m_isIconized;
DECLARE_EVENT_TABLE()
};
#endif // __GTKTOPLEVELH__