]> git.saurik.com Git - wxWidgets.git/commitdiff
colourSize was probably supposed to be used and not just defined and then forgot...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Sep 2005 21:00:04 +0000 (21:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Sep 2005 21:00:04 +0000 (21:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/fontdlgg.cpp

index 979f05d80aaca1098ce14e3efd62aa7042a276dc..26463f3704d4b6fdcf36c216b954573d509045df 100644 (file)
@@ -312,7 +312,7 @@ void wxGenericFontDialog::CreateWidgets()
         if (is_pda)
             colourSize.x = 100;
 
-        wxChoice* itemChoice16 = new wxChoice( this, wxID_FONT_COLOUR, wxDefaultPosition, wxDefaultSize, NUM_COLS, wxColourDialogNames, 0 );
+        wxChoice* itemChoice16 = new wxChoice( this, wxID_FONT_COLOUR, wxDefaultPosition, colourSize, NUM_COLS, wxColourDialogNames, 0 );
         itemChoice16->SetHelpText(_("The font colour."));
         if (ShowToolTips())
             itemChoice16->SetToolTip(_("The font colour."));