]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/radiobox.cpp
1. fixed wxXmlNode::InsertChild() documentation to match the code
[wxWidgets.git] / src / msw / radiobox.cpp
index e9f53d0f4628415b0b1ad9ca5a97259e24705f0f..9108095f9347df49a4308c796e3774f6e5d40b58 100644 (file)
@@ -183,7 +183,7 @@ bool wxRadioBox::Create(wxWindow *parent,
                                       styleBtn,
                                       0, 0, 0, 0,   // will be set in SetSize()
                                       GetHwndOf(parent),
-                                      (HMENU)subid.GetValue(),
+                                      (HMENU)wxUIntToPtr(subid.GetValue()),
                                       wxGetInstance(),
                                       NULL);
 
@@ -210,7 +210,8 @@ bool wxRadioBox::Create(wxWindow *parent,
                          wxEmptyString,
                          WS_GROUP | BS_AUTORADIOBUTTON | WS_CHILD,
                          0, 0, 0, 0, GetHwndOf(parent),
-                         (HMENU)m_dummyId.GetValue(), wxGetInstance(), NULL);
+                         (HMENU)wxUIntToPtr(m_dummyId.GetValue()),
+                         wxGetInstance(), NULL);
 
 
     m_radioButtons->SetFont(GetFont());