Fixed repainting problems when resizing window, now using wxFULL_REPAINT_RESIZE flag (At least wxMSW and wxMac had this problem).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e688defd59
commit
ee710d75b8
@ -673,7 +673,7 @@ void LifeNavigator::OnClose(wxCloseEvent& event)
|
||||
// canvas constructor
|
||||
LifeCanvas::LifeCanvas(wxWindow *parent, Life *life, bool interactive)
|
||||
: wxWindow(parent, wxID_ANY, wxDefaultPosition, wxSize(100, 100),
|
||||
wxSUNKEN_BORDER)
|
||||
wxSUNKEN_BORDER|wxFULL_REPAINT_ON_RESIZE)
|
||||
{
|
||||
m_life = life;
|
||||
m_interactive = interactive;
|
||||
|
Loading…
Reference in New Issue
Block a user