Use wxWS_EX_VALIDATE_RECURSIVELY in native Cocoa wxPreferencesEditor too.
Transfer data recursively for consistency with the generic implementation and because this generally just makes more sense. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
56375f60c7
commit
1ccbf7f0c3
@ -62,6 +62,12 @@ public:
|
||||
m_toolbarRealized(false),
|
||||
m_visiblePage(NULL)
|
||||
{
|
||||
// For consistency with the generic version, transfer data recursively:
|
||||
// this ensures that all controls, even deep inside our pages, get
|
||||
// correct values from their validators initially and transfer them
|
||||
// back at the end.
|
||||
SetExtraStyle(wxWS_EX_VALIDATE_RECURSIVELY);
|
||||
|
||||
m_toolbar = new wxToolBar(this, wxID_ANY, wxDefaultPosition, wxDefaultSize,
|
||||
wxTB_FLAT | wxTB_TEXT);
|
||||
m_toolbar->SetToolBitmapSize(wxSize(32,32));
|
||||
|
Loading…
Reference in New Issue
Block a user