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:
@@ -673,7 +673,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),
|
||||||
wxSUNKEN_BORDER)
|
wxSUNKEN_BORDER|wxFULL_REPAINT_ON_RESIZE)
|
||||||
{
|
{
|
||||||
m_life = life;
|
m_life = life;
|
||||||
m_interactive = interactive;
|
m_interactive = interactive;
|
||||||
|
Reference in New Issue
Block a user