]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/controls2.cpp
Font updates
[wxWidgets.git] / wxPython / src / msw / controls2.cpp
index 97cadeefae93ab54d7a6e448a929d238d5f3a3ea..28308a836a8a7f611e0883ef2aa131d3fa806d92 100644 (file)
@@ -5036,7 +5036,7 @@ static wxWindow * wxPyListCtrl_GetMainWindow(wxPyListCtrl *self) {
         #ifdef __WXMSW__
             return self;
         #else
-            return (wxWindow*)m_mainWin;
+            return (wxWindow*)self->m_mainWin;
         #endif
         }
 static PyObject *_wrap_wxListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {