merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -286,7 +286,7 @@ void MyFrame::OnSize(wxSizeEvent& event)
|
||||
// FIXME: On wxX11, we need the MDI frame to process this
|
||||
// event, but on other platforms this should not
|
||||
// be done.
|
||||
#ifdef __WXX11__
|
||||
#ifdef __WXUNIVERSAL__
|
||||
event.Skip();
|
||||
#endif
|
||||
}
|
||||
@@ -443,6 +443,7 @@ void MyChild::OnChangeSize(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void MyChild::OnChangeTitle(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
//#if wxUSE_TEXTDLG
|
||||
static wxString s_title = _T("Canvas Frame");
|
||||
|
||||
wxString title = wxGetTextFromUser(_T("Enter the new title for MDI child"),
|
||||
@@ -454,6 +455,7 @@ void MyChild::OnChangeTitle(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
s_title = title;
|
||||
SetTitle(s_title);
|
||||
//#endif
|
||||
}
|
||||
|
||||
void MyChild::OnActivate(wxActivateEvent& event)
|
||||
|
Reference in New Issue
Block a user