reenabling an Update where necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2655,7 +2655,10 @@ void wxAuiManager::Update()
|
|||||||
if (p.rect != old_pane_rects[i])
|
if (p.rect != old_pane_rects[i])
|
||||||
{
|
{
|
||||||
p.window->Refresh();
|
p.window->Refresh();
|
||||||
#ifdef TODO_REMOVE_IF_NO_PROBLEMS
|
|
||||||
|
// under OSX the repaint events occurs almost immediately
|
||||||
|
// for the other platforms we issue an immediate repaint
|
||||||
|
#ifndef __WXOSX__
|
||||||
p.window->Update();
|
p.window->Update();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -3895,7 +3898,7 @@ void wxAuiManager::Render(wxDC* dc)
|
|||||||
|
|
||||||
void wxAuiManager::Repaint(wxDC* dc)
|
void wxAuiManager::Repaint(wxDC* dc)
|
||||||
{
|
{
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__ */
|
||||||
if ( dc == NULL )
|
if ( dc == NULL )
|
||||||
{
|
{
|
||||||
m_frame->Refresh() ;
|
m_frame->Refresh() ;
|
||||||
|
Reference in New Issue
Block a user