]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
don't declare inline function with dllexport declaration, this provokes mingw32 warni...
[wxWidgets.git] / src / msw / control.cpp
index bd6c3cff174509be5fe04c95f2b83534ad8340c6..54fd80129e90f585004794496391bf0bca7f8156 100644 (file)
@@ -162,6 +162,10 @@ bool wxControl::MSWCreateControl(const wxChar *classname,
         return false;
     }
 
+    // saving the label in m_labelOrig to return it verbatim
+    // later in GetLabel()
+    m_labelOrig = label;
+
     // install wxWidgets window proc for this window
     SubclassWin(m_hWnd);