Rename wxWindow::GetMainWindow() to X11GetMainWindow() in wxX11.
This avoids conflicts with GetMainWindow() defined in other wxWindow-derived classes (such as wxDataViewCtrl and potentially user-defined classes as well). Closes #11818. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -82,7 +82,7 @@ public:
|
||||
virtual void DragAcceptFiles(bool accept);
|
||||
|
||||
// Get the unique identifier of a window
|
||||
virtual WXWindow GetHandle() const { return GetMainWindow(); }
|
||||
virtual WXWindow GetHandle() const { return X11GetMainWindow(); }
|
||||
|
||||
// implementation from now on
|
||||
// --------------------------
|
||||
@@ -91,7 +91,7 @@ public:
|
||||
// ---------
|
||||
|
||||
// Get main X11 window
|
||||
virtual WXWindow GetMainWindow() const;
|
||||
virtual WXWindow X11GetMainWindow() const;
|
||||
|
||||
// Get X11 window representing the client area
|
||||
virtual WXWindow GetClientAreaWindow() const;
|
||||
|
Reference in New Issue
Block a user