Close #861, remove colour dropper tool on non-Windows platforms for now.

Originally committed to SVN as r3020.
This commit is contained in:
Niels Martin Hansen 2009-06-06 01:59:33 +00:00
parent 4b41b4ca4a
commit c0586f690c

View file

@ -615,9 +615,11 @@ DialogColorPicker::DialogColorPicker(wxWindow *parent, wxColour initial_color)
if (Options.AsBool(_T("RGBAdjust Tool"))) recent_sizer->Add(new wxButton(this,BUTTON_RGBADJUST,_T("rgbadjust()")), 0, wxEXPAND); if (Options.AsBool(_T("RGBAdjust Tool"))) recent_sizer->Add(new wxButton(this,BUTTON_RGBADJUST,_T("rgbadjust()")), 0, wxEXPAND);
wxSizer *picker_sizer = new wxBoxSizer(wxHORIZONTAL); wxSizer *picker_sizer = new wxBoxSizer(wxHORIZONTAL);
#ifdef __WXMSW__
picker_sizer->AddStretchSpacer(); picker_sizer->AddStretchSpacer();
picker_sizer->Add(screen_dropper_icon, 0, wxALIGN_CENTER|wxRIGHT, 5); picker_sizer->Add(screen_dropper_icon, 0, wxALIGN_CENTER|wxRIGHT, 5);
picker_sizer->Add(screen_dropper, 0, wxALIGN_CENTER); picker_sizer->Add(screen_dropper, 0, wxALIGN_CENTER);
#endif
picker_sizer->AddStretchSpacer(); picker_sizer->AddStretchSpacer();
picker_sizer->Add(recent_sizer, 0, wxALIGN_CENTER); picker_sizer->Add(recent_sizer, 0, wxALIGN_CENTER);
picker_sizer->AddStretchSpacer(); picker_sizer->AddStretchSpacer();