- wxMenu *pMenuNew = new wxMenu;
- pMenuNew->Append(Menu_NewKey, _T("&Key"), _T("Create a new key"));
- pMenuNew->AppendSeparator();
- pMenuNew->Append(Menu_NewText, _T("&Text value"), _T("Create a new text value"));
- pMenuNew->Append(Menu_NewBinary, _T("&Binary value"), _T("Create a new binary value"));
-
- wxMenu *pMenuReg = new wxMenu;
- pMenuReg->Append(Menu_New, _T("&New"), pMenuNew);
- pMenuReg->Append(Menu_Delete, _T("&Delete..."), _T("Delete selected key/value"));
- pMenuReg->AppendSeparator();
- pMenuReg->Append(Menu_GoTo, _T("&Go to...\tCtrl-G"), _T("Go to registry key"));
- pMenuReg->Append(Menu_Expand, _T("&Expand"), _T("Expand current key"));
- pMenuReg->Append(Menu_Collapse, _T("&Collapse"), _T("Collapse current key"));
- pMenuReg->Append(Menu_Toggle, _T("&Toggle"), _T("Toggle current key"));
- pMenuReg->AppendSeparator();
- pMenuReg->Append(Menu_Refresh, _T("&Refresh"), _T("Refresh the subtree"));
- pMenuReg->AppendSeparator();
- pMenuReg->Append(Menu_Info, _T("&Properties"),_T("Information about current selection"));
-
- return pMenuReg;
+ wxMenu *pMenuNew = new wxMenu;
+ pMenuNew->Append(Menu_NewKey, _T("&Key"), _T("Create a new key"));
+ pMenuNew->AppendSeparator();
+ pMenuNew->Append(Menu_NewText, _T("&Text value"), _T("Create a new text value"));
+ pMenuNew->Append(Menu_NewBinary, _T("&Binary value"), _T("Create a new binary value"));
+
+ wxMenu *pMenuReg = new wxMenu;
+ pMenuReg->Append(Menu_New, _T("&New"), pMenuNew);
+ pMenuReg->Append(Menu_Delete, _T("&Delete..."), _T("Delete selected key/value"));
+ pMenuReg->AppendSeparator();
+ pMenuReg->Append(Menu_GoTo, _T("&Go to...\tCtrl-G"), _T("Go to registry key"));
+ pMenuReg->Append(Menu_Expand, _T("&Expand"), _T("Expand current key"));
+ pMenuReg->Append(Menu_Collapse, _T("&Collapse"), _T("Collapse current key"));
+ pMenuReg->Append(Menu_Toggle, _T("&Toggle"), _T("Toggle current key"));
+ pMenuReg->AppendSeparator();
+ pMenuReg->Append(Menu_Refresh, _T("&Refresh"), _T("Refresh the subtree"));
+ pMenuReg->AppendSeparator();
+ pMenuReg->Append(Menu_Info, _T("&Properties"),_T("Information about current selection"));
+
+ return pMenuReg;