mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
Remove some useless "typedef wxX X"
This commit is contained in:
@@ -44,7 +44,7 @@ CardsPanel::CardsPanel(Window* parent, int id)
|
||||
editor = new CardEditor(this, ID_EDITOR);
|
||||
splitter = new wxSplitterWindow(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL);
|
||||
card_list = new FilteredImageCardList(splitter, ID_CARD_LIST);
|
||||
nodes_panel = new Panel(splitter, wxID_ANY);
|
||||
nodes_panel = new wxPanel(splitter, wxID_ANY);
|
||||
notes = new TextCtrl(nodes_panel, ID_NOTES, true);
|
||||
collapse_notes = new HoverButton(nodes_panel, ID_COLLAPSE_NOTES, _("btn_collapse"), wxNullColour, false);
|
||||
collapse_notes->SetExtraStyle(wxWS_EX_PROCESS_UI_UPDATES);
|
||||
|
||||
@@ -78,7 +78,7 @@ class CardsPanel : public SetWindowPanel {
|
||||
wxSplitterWindow* splitter;
|
||||
DataEditor* editor;
|
||||
FilteredImageCardList* card_list;
|
||||
Panel* nodes_panel;
|
||||
wxPanel* nodes_panel;
|
||||
TextCtrl* notes;
|
||||
HoverButton* collapse_notes;
|
||||
FilterCtrl* filter;
|
||||
|
||||
@@ -301,7 +301,7 @@ ConsolePanel::ConsolePanel(Window* parent, int id)
|
||||
// init controls
|
||||
splitter = new wxSplitterWindow(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL);
|
||||
messages = new MessageCtrl(splitter, ID_MESSAGE_LIST);
|
||||
entry_panel = new Panel(splitter, wxID_ANY);
|
||||
entry_panel = new wxPanel(splitter, wxID_ANY);
|
||||
entry = new wxTextCtrl(entry_panel, wxID_ANY, _(""), wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER);
|
||||
wxButton* evaluate = new wxButton(entry_panel, ID_EVALUATE, _BUTTON_("evaluate"));
|
||||
// init sizer for entry_panel
|
||||
|
||||
@@ -40,7 +40,7 @@ void KeywordsPanel::initControls() {
|
||||
// init controls
|
||||
splitter = new wxSplitterWindow(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL);
|
||||
list = new KeywordList(splitter, ID_KEYWORD_LIST);
|
||||
panel = new Panel(splitter, wxID_ANY);
|
||||
panel = new wxPanel(splitter, wxID_ANY);
|
||||
keyword = new TextCtrl(panel, ID_KEYWORD, false);
|
||||
mode = new wxChoice(panel, ID_KEYWORD_MODE, wxDefaultPosition, wxDefaultSize, 0, nullptr);
|
||||
match = new TextCtrl(panel, ID_MATCH, false);
|
||||
|
||||
Reference in New Issue
Block a user