mirror of https://github.com/odrling/Aegisub
Close #861, remove colour dropper tool on non-Windows platforms for now.
Originally committed to SVN as r3020.
This commit is contained in:
parent
4b41b4ca4a
commit
c0586f690c
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue