]> git.saurik.com Git - wxWidgets.git/commitdiff
Changed values passed to SetClientSize() in CreateWidgets() so that buttons are not...
authorMichael Bedward <mbedward@ozemail.com.au>
Mon, 16 Aug 1999 23:04:00 +0000 (23:04 +0000)
committerMichael Bedward <mbedward@ozemail.com.au>
Mon, 16 Aug 1999 23:04:00 +0000 (23:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/colrdlgg.cpp

index 5843141cabb7ae3e71749701ce1f1796f192fc6c..d99432194e6f31bc6ffec9a800a0064bf47d8ce0 100644 (file)
@@ -254,7 +254,7 @@ void wxGenericColourDialog::CreateWidgets(void)
   blueSlider = new wxSlider(this, wxID_BLUE_SLIDER, 0, 0, 255,
    wxPoint(sliderX + 2*sliderSpacing, 10), wxSize(-1, sliderHeight), wxVERTICAL|wxSL_LABELS);
 
   blueSlider = new wxSlider(this, wxID_BLUE_SLIDER, 0, 0, 255,
    wxPoint(sliderX + 2*sliderSpacing, 10), wxSize(-1, sliderHeight), wxVERTICAL|wxSL_LABELS);
 
-  SetClientSize(sliderX + 3*sliderSpacing, buttonY + 40);
+  SetClientSize(sliderX + 3*sliderSpacing, buttonY + bh + 20);
   okButton->SetDefault();
 
   Centre(wxBOTH);
   okButton->SetDefault();
 
   Centre(wxBOTH);