#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"
-void PropEditCtrlChoice::OnChoice(wxCommandEvent& event)
+void PropEditCtrlChoice::OnChoice(wxCommandEvent& WXUNUSED(event))
{
if (CanSave())
{
clr = wxColour((tmp & 0xFF0000) >> 16,
(tmp & 0x00FF00) >> 8,
(tmp & 0x0000FF));
+
clr = wxGetColourFromUser(NULL, clr);
if (clr.Ok())
{
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 (*)|*");
}