dialog_hotkeys_editor_base.h 1.95 KB
Newer Older
1
///////////////////////////////////////////////////////////////////////////
2
// C++ code generated with wxFormBuilder (version Oct  8 2012)
3 4 5 6 7
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

8 9
#ifndef __DIALOG_HOTKEYS_EDITOR_BASE_H__
#define __DIALOG_HOTKEYS_EDITOR_BASE_H__
10

11 12
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
13
#include <wx/intl.h>
14
class DIALOG_SHIM;
15

16
#include "dialog_shim.h"
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/string.h>
#include <wx/font.h>
#include <wx/grid.h>
#include <wx/gdicmn.h>
#include <wx/button.h>
#include <wx/sizer.h>
#include <wx/dialog.h>

///////////////////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////////////////////
/// Class HOTKEYS_EDITOR_DIALOG_BASE
///////////////////////////////////////////////////////////////////////////////
33
class HOTKEYS_EDITOR_DIALOG_BASE : public DIALOG_SHIM
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
{
	private:
	
	protected:
		wxGrid* m_hotkeyGrid;
		wxButton* m_OKButton;
		wxButton*  m_cancelButton;
		wxButton* m_undoButton;
		
		// Virtual event handlers, overide them in your derived class
		virtual void OnKeyPressed( wxKeyEvent& event ) { event.Skip(); }
		virtual void OnRightClickOnCell( wxGridEvent& event ) { event.Skip(); }
		virtual void OnClickOnCell( wxGridEvent& event ) { event.Skip(); }
		virtual void OnOKClicked( wxCommandEvent& event ) { event.Skip(); }
		virtual void CancelClicked( wxCommandEvent& event ) { event.Skip(); }
		virtual void UndoClicked( wxCommandEvent& event ) { event.Skip(); }
		
	
	public:
		
54
		HOTKEYS_EDITOR_DIALOG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Hotkeys Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 304,235 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); 
55 56 57 58
		~HOTKEYS_EDITOR_DIALOG_BASE();
	
};

59
#endif //__DIALOG_HOTKEYS_EDITOR_BASE_H__