Sizing/scrollbar corrections for Mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2008-03-12 13:36:09 +00:00
parent ba3049f5a5
commit 13beff4a16
2 changed files with 4 additions and 2 deletions

View File

@@ -34,12 +34,15 @@ BEGIN_EVENT_TABLE(FortyCanvas, wxScrolledWindow)
END_EVENT_TABLE()
FortyCanvas::FortyCanvas(wxWindow* parent, const wxPoint& pos, const wxSize& size) :
wxScrolledWindow(parent, wxID_ANY, pos, size),
wxScrolledWindow(parent, wxID_ANY, pos, size, 0),
m_helpingHand(true),
m_rightBtnUndo(true),
m_playerDialog(0),
m_leftBtnDown(false)
{
SetScrollbars(0, 0, 0, 0);
SetMinSize(wxSize(10,10));
#ifdef __WXGTK__
m_font = wxTheFontList->FindOrCreateFont(12, wxROMAN, wxNORMAL, wxNORMAL);
#else