Fixed native dialog bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -95,11 +95,6 @@ void MyFrame::OnTest1(wxCommandEvent& event)
|
||||
MyDialog *dialog = new MyDialog;
|
||||
if (dialog->LoadNativeDialog(this, _T("dialog1")))
|
||||
{
|
||||
/*
|
||||
wxTextCtrl *text = (wxTextCtrl *)wxFindWindowByName("multitext3", dialog);
|
||||
if (text)
|
||||
text->SetValue("wxWindows resource demo");
|
||||
*/
|
||||
dialog->SetModal(TRUE);
|
||||
dialog->ShowModal();
|
||||
}
|
||||
|
Reference in New Issue
Block a user