changed the handling of the default buttons to be more logical

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-05-11 22:31:05 +00:00
parent 7c720ce633
commit 036da5e374
7 changed files with 117 additions and 37 deletions

View File

@@ -69,6 +69,13 @@ protected:
// send a notification event, return TRUE if processed
bool SendClickEvent();
// default button handling
void SetTmpDefault();
void UnsetTmpDefault();
static void UpdateDefaultStyle(wxWindow *winDefault,
wxWindow *winOldDefault);
// usually overridden base class virtuals
virtual wxSize DoGetBestSize() const;
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;