19#ifndef _TM_SHORTCUT_PANEL_DLG_H_ 
   20#define _TM_SHORTCUT_PANEL_DLG_H_ 
   30#include <wx/statline.h>   
   32#include "shortcut_defs.h"    
   33#include "tmchecklistbox.h"   
   35#define ID_DLG_SHORTCUT_LIST 21000 
   41    wxChoice* m_ShortcutKey;
 
   42    wxTextCtrl* m_ShortcutDescription;
 
   44    wxButton* m_SaveButton;
 
   49    void CreateControls();
 
   53    Shortcut_Panel_DLG(wxWindow* parent, wxWindowID 
id = wxID_ANY, 
const wxString& title = _(
"Edit Shortcut"),
 
   54                       const wxPoint& pos = wxDefaultPosition, 
const wxSize& size = wxDefaultSize,
 
   55                       long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
 
   67    bool SetTypeList(
DataBaseTM* database, 
int layer_type, 
int key = 0);
 
   74    wxArrayLong m_CheckedTypes;
 
   76    wxString m_Description;
 
 
Definition database_tm.h:80
Definition shortcut_panel_dlg.h:39
virtual bool TransferDataToWindow()
Called just before displaying the dialog.
Definition shortcut_panel_dlg.cpp:125
virtual bool TransferDataFromWindow()
Called just before closing the dialog.
Definition shortcut_panel_dlg.cpp:101
void SetKeyList(const wxArrayString &keys)
Set values for keys.
Definition shortcut_panel_dlg.cpp:138
Deals with checkbox list.
Definition tmchecklistbox.h:56