X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab958adb1edc0edaec0d483bc3c433aa9061b9cb..078c7a596db67f39e2502861d4b7c666d0f4236b:/contrib/utils/wxrcedit/pe_adv.cpp diff --git a/contrib/utils/wxrcedit/pe_adv.cpp b/contrib/utils/wxrcedit/pe_adv.cpp index 7d9c16777d..4f7b59f398 100644 --- a/contrib/utils/wxrcedit/pe_adv.cpp +++ b/contrib/utils/wxrcedit/pe_adv.cpp @@ -18,7 +18,7 @@ #endif #include "wx/wx.h" -#include "wx/xrc/xml.h" +#include "wx/xml/xml.h" #include "wx/tokenzr.h" #include "wx/wx.h" #include "wx/dialog.h" @@ -94,7 +94,7 @@ void PropEditCtrlChoice::WriteValue() -void PropEditCtrlChoice::OnChoice(wxCommandEvent& event) +void PropEditCtrlChoice::OnChoice(wxCommandEvent& WXUNUSED(event)) { if (CanSave()) { @@ -118,6 +118,7 @@ void PropEditCtrlColor::OnDetails() clr = wxColour((tmp & 0xFF0000) >> 16, (tmp & 0x00FF00) >> 8, (tmp & 0x0000FF)); + clr = wxGetColourFromUser(NULL, clr); if (clr.Ok()) { @@ -255,9 +256,5 @@ void PropEditCtrlFile::OnDetails() wxString PropEditCtrlImageFile::GetFileTypes() { - return _("GIF files (*.gif)|*.gif|" - "JPEG files (*.jpg)|*.jpg|" - "PNG files (*.png)|*.png|" - "BMP files (*.bmp)|*.bmp|" - "All files (*)|*"); + return _("GIF files (*.gif)|*.gif|JPEG files (*.jpg)|*.jpg|PNG files (*.png)|*.png|BMP files (*.bmp)|*.bmp|All files (*)|*"); }