scrolling windows need wx[HV]SCROLL style

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2007-09-14 17:23:43 +00:00
parent 4ec4d8610a
commit 64b9776ca6

View File

@ -693,7 +693,7 @@ void LifeNavigator::OnClose(wxCloseEvent& event)
// canvas constructor
LifeCanvas::LifeCanvas(wxWindow *parent, Life *life, bool interactive)
: wxWindow(parent, wxID_ANY, wxDefaultPosition, wxSize(100, 100),
wxFULL_REPAINT_ON_RESIZE
wxFULL_REPAINT_ON_RESIZE | wxHSCROLL | wxVSCROLL
#if !defined(__SMARTPHONE__) && !defined(__POCKETPC__)
|wxSUNKEN_BORDER
#else