diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-12-01 22:56:18 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-12-01 23:02:50 -0500 |
| commit | 10bfbebc780fb3693741a72f258a5da2c3daffa1 (patch) | |
| tree | 5c9a3360cf4d10dec94f7eaf242662be92f9427a /Source/Core/DolphinWX/PostProcessingConfigDiag.cpp | |
| parent | 64124a0d21db8fde638a0218f9e3dc704e1b7384 (diff) | |
DolphinWX: Specify wxID_ANY where -1 is used in controls
Diffstat (limited to 'Source/Core/DolphinWX/PostProcessingConfigDiag.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/PostProcessingConfigDiag.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/PostProcessingConfigDiag.cpp b/Source/Core/DolphinWX/PostProcessingConfigDiag.cpp index 031c19f19d..15624f247c 100644 --- a/Source/Core/DolphinWX/PostProcessingConfigDiag.cpp +++ b/Source/Core/DolphinWX/PostProcessingConfigDiag.cpp @@ -20,7 +20,7 @@ #include "VideoCommon/RenderBase.h" PostProcessingConfigDiag::PostProcessingConfigDiag(wxWindow* parent, const std::string& shader) - : wxDialog(parent, -1, + : wxDialog(parent, wxID_ANY, wxString::Format(_("Post Processing Shader Configuration"))), m_shader(shader) { @@ -73,8 +73,8 @@ PostProcessingConfigDiag::PostProcessingConfigDiag(wxWindow* parent, const std:: } // Generate our UI - wxNotebook* const notebook = new wxNotebook(this, -1); - wxPanel* const page_general = new wxPanel(notebook, -1); + wxNotebook* const notebook = new wxNotebook(this, wxID_ANY); + wxPanel* const page_general = new wxPanel(notebook); wxFlexGridSizer* const szr_general = new wxFlexGridSizer(2, 5, 5); // Now let's actually populate our window with our information @@ -84,7 +84,7 @@ PostProcessingConfigDiag::PostProcessingConfigDiag(wxWindow* parent, const std:: if (it->HasChildren()) { // Options with children get their own tab - wxPanel* const page_option = new wxPanel(notebook, -1); + wxPanel* const page_option = new wxPanel(notebook); wxFlexGridSizer* const szr_option = new wxFlexGridSizer(2, 10, 5); it->GenerateUI(this, page_option, szr_option); |
