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:
@@ -693,7 +693,7 @@ void LifeNavigator::OnClose(wxCloseEvent& event)
|
|||||||
// canvas constructor
|
// canvas constructor
|
||||||
LifeCanvas::LifeCanvas(wxWindow *parent, Life *life, bool interactive)
|
LifeCanvas::LifeCanvas(wxWindow *parent, Life *life, bool interactive)
|
||||||
: wxWindow(parent, wxID_ANY, wxDefaultPosition, wxSize(100, 100),
|
: wxWindow(parent, wxID_ANY, wxDefaultPosition, wxSize(100, 100),
|
||||||
wxFULL_REPAINT_ON_RESIZE
|
wxFULL_REPAINT_ON_RESIZE | wxHSCROLL | wxVSCROLL
|
||||||
#if !defined(__SMARTPHONE__) && !defined(__POCKETPC__)
|
#if !defined(__SMARTPHONE__) && !defined(__POCKETPC__)
|
||||||
|wxSUNKEN_BORDER
|
|wxSUNKEN_BORDER
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user