]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
Patch from Bo to speed up FindNode() in internal data tree structure (GTK)
[wxWidgets.git] / src / msw / control.cpp
index 54fd80129e90f585004794496391bf0bca7f8156..030a55f7046c3676bbd12bb177c3b96a8f7e601b 100644 (file)
@@ -140,7 +140,7 @@ bool wxControl::MSWCreateControl(const wxChar *classname,
                        (
                         exstyle,            // extended style
                         classname,          // the kind of control to create
-                        label,              // the window name
+                        label.wx_str(),     // the window name
                         style,              // the window style
                         x, y, w, h,         // the window position and size
                         GetHwndOf(GetParent()),  // parent