]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/radiobox.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / msw / radiobox.cpp
index 1414e04eddd078bb2a19f29a5d477bc6bea1ff0b..e7dd3514a6d1ffcb953d7833850910dcf76f1ba6 100644 (file)
@@ -203,7 +203,7 @@ bool wxRadioBox::Create(wxWindow *parent,
         wxWindowIDRef subid = NewControlId();
 
         HWND hwndBtn = ::CreateWindow(wxT("BUTTON"),
-                                      choices[i].wx_str(),
+                                      choices[i].t_str(),
                                       styleBtn,
                                       0, 0, 0, 0,   // will be set in SetSize()
                                       GetHwndOf(parent),