]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/choice.cpp
Dtor for wxHtmlCell
[wxWidgets.git] / src / os2 / choice.cpp
index 8235ed353217ecb2283c786fabe413f2f6025fa9..cea4402332bb81fda41db44d726bdaaddd0afb2e 100644 (file)
@@ -94,18 +94,11 @@ bool wxChoice::Create(
     {
         Append(asChoices[i]);
     }
-    wxFont*                          pTextFont = new wxFont( 10
-                                                            ,wxMODERN
-                                                            ,wxNORMAL
-                                                            ,wxNORMAL
-                                                           );
-    SetFont(*pTextFont);
     SetSize( rPos.x
             ,rPos.y
             ,rSize.x
             ,rSize.y
            );
-    delete pTextFont;
     return true;
 } // end of wxChoice::Create