Better fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -41,7 +41,6 @@ FortyCanvas::FortyCanvas(wxWindow* parent, const wxPoint& pos, const wxSize& siz
|
|||||||
m_leftBtnDown(false)
|
m_leftBtnDown(false)
|
||||||
{
|
{
|
||||||
SetScrollbars(0, 0, 0, 0);
|
SetScrollbars(0, 0, 0, 0);
|
||||||
SetMinSize(wxSize(10,10));
|
|
||||||
|
|
||||||
#ifdef __WXGTK__
|
#ifdef __WXGTK__
|
||||||
m_font = wxTheFontList->FindOrCreateFont(12, wxROMAN, wxNORMAL, wxNORMAL);
|
m_font = wxTheFontList->FindOrCreateFont(12, wxROMAN, wxNORMAL, wxNORMAL);
|
||||||
|
@@ -199,6 +199,8 @@ FortyFrame::FortyFrame(wxFrame* frame, const wxString& title, const wxPoint& pos
|
|||||||
#if wxUSE_STATUSBAR
|
#if wxUSE_STATUSBAR
|
||||||
CreateStatusBar();
|
CreateStatusBar();
|
||||||
#endif // wxUSE_STATUSBAR
|
#endif // wxUSE_STATUSBAR
|
||||||
|
|
||||||
|
topsizer->SetSizeHints( this );
|
||||||
}
|
}
|
||||||
|
|
||||||
void FortyFrame::OnCloseWindow(wxCloseEvent& event)
|
void FortyFrame::OnCloseWindow(wxCloseEvent& event)
|
||||||
|
Reference in New Issue
Block a user