From d6b30150b2620df4c085a9ffb1bd26be6ebd791e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 17 Sep 2005 21:00:04 +0000 Subject: [PATCH] colourSize was probably supposed to be used and not just defined and then forgot about (thanks for SGI CC for a nice warning) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/fontdlgg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/fontdlgg.cpp b/src/generic/fontdlgg.cpp index 979f05d80a..26463f3704 100644 --- a/src/generic/fontdlgg.cpp +++ b/src/generic/fontdlgg.cpp @@ -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.")); -- 2.45.2