From: Vadim Zeitlin Date: Sun, 1 Jun 2008 16:56:46 +0000 (+0000) Subject: compilation fix for wxX11 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0ef7449a2eeba05f25eb56ec115b75ca1957362d compilation fix for wxX11 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/docview/view.cpp b/samples/docview/view.cpp index 5a4d9e63bc..4cbb1e6084 100644 --- a/samples/docview/view.cpp +++ b/samples/docview/view.cpp @@ -173,8 +173,8 @@ bool TextEditView::OnCreate(wxDocument *doc, long WXUNUSED(flags) ) #ifdef __X__ // X seems to require a forced resize int x, y; - frame->GetSize(&x, &y); - frame->SetSize(wxDefaultCoord, wxDefaultCoord, x, y); + m_frame->GetSize(&x, &y); + m_frame->SetSize(wxDefaultCoord, wxDefaultCoord, x, y); #endif m_frame->Show(true);