From bd6336c629841c6db3a6ca53a936d629d34db53b Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:15:16 +0200 Subject: 4.1 --- shared/dir_picker_i18n.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 shared/dir_picker_i18n.h (limited to 'shared/dir_picker_i18n.h') diff --git a/shared/dir_picker_i18n.h b/shared/dir_picker_i18n.h deleted file mode 100644 index 89b54bf4..00000000 --- a/shared/dir_picker_i18n.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef DIR_PICKER_I18N_H_INCLUDED -#define DIR_PICKER_I18N_H_INCLUDED - -#include -#include "i18n.h" - - -class FfsDirPickerCtrl : public wxDirPickerCtrl -{ -public: - FfsDirPickerCtrl(wxWindow* parent, wxWindowID id, - const wxString& path = wxEmptyString, - const wxString& message = wxDirSelectorPromptStr, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = wxDIRP_DEFAULT_STYLE, - const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxDirPickerCtrlNameStr) : - wxDirPickerCtrl(parent, id, path, message, pos, size, style, validator, name) - { -#ifdef FFS_WIN - //fix wxWidgets localization gap: - wxButton* button = dynamic_cast(m_pickerIface); - if (button) button->SetLabel(_("Browse")); -#endif - } -}; - - -#endif // DIR_PICKER_I18N_H_INCLUDED -- cgit