~alexeyb/wxmedit/master

« back to all changes in this revision

Viewing changes to src/dialog/wxmedit_options_dialog.h

  • Committer: hltj
  • Date: 2018-03-26 14:08:58 UTC
  • Revision ID: git-v1:be9a7e3bc5f673525b45f4529d31df9401c2ac4e
fix crash when deleting key shortcut in option dialog if built with wxMSW-3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
330
330
 
331
331
        void LoadOptions(void);
332
332
 
333
 
        TreeItemData* FindKeyInList(const wxString &key); // find key in TreeItemDataList
334
 
        bool FindItemInList(TreeItemData* tid, const list<TreeItemData*> &tlist);
335
 
        void UpdateKeyHint();
 
333
        void EnableTabTraversal();
 
334
        void DisableTabTraversal();
336
335
 
337
336
        int ButtonID;
338
337
        list<TreeItemData*> TreeItemDataList; // list of all TreeItemData
346
345
private:
347
346
        void InitButtonRelativeEdit();
348
347
        wxTextCtrl* GetButtonRelativeEdit(long btnid);
 
348
        TreeItemData* FindKeyInList(const wxString &key); // find key in TreeItemDataList
 
349
        bool FindItemInList(TreeItemData* tid, const list<TreeItemData*> &tlist);
 
350
        void UpdateKeyHint();
349
351
 
350
352
        typedef std::map<long, wxTextCtrl*> BtnIDEditMap;
351
353
        BtnIDEditMap m_btnid_edit_map;