Disabled top-level parent tracking by default (crashes with AUI), must now use wxPG_EX_ENABLE_TLP_TRACKING style to enable old behavior.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2965,6 +2965,7 @@ void FormMain::OnSelectStyle( wxCommandEvent& WXUNUSED(event) )
|
||||
ADD_FLAG(wxPG_EX_WRITEONLY_BUILTIN_ATTRIBUTES)
|
||||
ADD_FLAG(wxPG_EX_HIDE_PAGE_BUTTONS)
|
||||
ADD_FLAG(wxPG_EX_MULTIPLE_SELECTION)
|
||||
ADD_FLAG(wxPG_EX_ENABLE_TLP_TRACKING)
|
||||
wxMultiChoiceDialog dlg( this, wxT("Select extra window styles to use"),
|
||||
wxT("wxPropertyGrid Extra Style"), chs );
|
||||
dlg.SetSelections(sel);
|
||||
@@ -3175,8 +3176,8 @@ bool cxApplication::OnInit()
|
||||
//wxLocale Locale;
|
||||
//Locale.Init(wxLANGUAGE_FINNISH);
|
||||
|
||||
FormMain* frame = Form1 = new FormMain( wxT("wxPropertyGrid Sample"), wxPoint(0,0), wxSize(300,500) );
|
||||
frame->Show(true);
|
||||
FormMain* frame = Form1 = new FormMain( wxT("wxPropertyGrid Sample"), wxPoint(0,0), wxSize(300,500) );
|
||||
frame->Show(true);
|
||||
|
||||
//
|
||||
// Parse command-line
|
||||
@@ -3195,7 +3196,7 @@ bool cxApplication::OnInit()
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
@@ -1237,7 +1237,7 @@ bool FormMain::RunTests( bool fullTest, bool interactive )
|
||||
|
||||
wxASSERT(wxPG_EX_INIT_NOCAT == 0x00001000);
|
||||
|
||||
for ( i=12; i<26; i++ )
|
||||
for ( i=12; i<27; i++ )
|
||||
{
|
||||
int flag = 1<<i;
|
||||
RT_MSG(wxString::Format(wxT("ExStyle: 0x%X"),flag));
|
||||
|
Reference in New Issue
Block a user