Renamed internal GetClientWindow to GetClientAreaWindow so
as not to clash with the MDI function of the same name git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -514,7 +514,7 @@ bool wxApp::ProcessXEvent(WXEvent* _event)
|
||||
case Expose:
|
||||
{
|
||||
#if wxUSE_TWO_WINDOWS && !wxUSE_NANOX
|
||||
if (event->xexpose.window != (Window)win->GetClientWindow())
|
||||
if (event->xexpose.window != (Window)win->GetClientAreaWindow())
|
||||
{
|
||||
XEvent tmp_event;
|
||||
wxExposeInfo info;
|
||||
@@ -556,7 +556,7 @@ bool wxApp::ProcessXEvent(WXEvent* _event)
|
||||
|
||||
// If we only have one X11 window, always indicate
|
||||
// that borders might have to be redrawn.
|
||||
if (win->GetMainWindow() == win->GetClientWindow())
|
||||
if (win->GetMainWindow() == win->GetClientAreaWindow())
|
||||
win->NeedUpdateNcAreaInIdle();
|
||||
|
||||
// Only erase background, paint in idle time.
|
||||
|
Reference in New Issue
Block a user