compilation fix for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -173,8 +173,8 @@ bool TextEditView::OnCreate(wxDocument *doc, long WXUNUSED(flags) )
|
|||||||
#ifdef __X__
|
#ifdef __X__
|
||||||
// X seems to require a forced resize
|
// X seems to require a forced resize
|
||||||
int x, y;
|
int x, y;
|
||||||
frame->GetSize(&x, &y);
|
m_frame->GetSize(&x, &y);
|
||||||
frame->SetSize(wxDefaultCoord, wxDefaultCoord, x, y);
|
m_frame->SetSize(wxDefaultCoord, wxDefaultCoord, x, y);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
m_frame->Show(true);
|
m_frame->Show(true);
|
||||||
|
Reference in New Issue
Block a user