diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-02-15 13:26:44 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-02-15 13:26:44 -0500 |
| commit | 16a639230806a866136c326661f5113ca5648fb2 (patch) | |
| tree | 58e842cb881c2f6af99f09b817696b63d601a7d8 /Source/Core/DolphinWX/PostProcessingConfigDiag.cpp | |
| parent | f38b3ace389eb01c51566da81f0cdaeaba46f1c8 (diff) | |
| parent | 50f600c834b5202a5e7a38fe5d4a6b5ca3bce122 (diff) | |
Merge pull request #2054 from lioncash/disable
DolphinWX: Change Enable(false) calls into Disable() where possible
Diffstat (limited to 'Source/Core/DolphinWX/PostProcessingConfigDiag.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/PostProcessingConfigDiag.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/PostProcessingConfigDiag.cpp b/Source/Core/DolphinWX/PostProcessingConfigDiag.cpp index 15624f247c..26a200026e 100644 --- a/Source/Core/DolphinWX/PostProcessingConfigDiag.cpp +++ b/Source/Core/DolphinWX/PostProcessingConfigDiag.cpp @@ -202,7 +202,7 @@ void PostProcessingConfigDiag::ConfigGrouping::GenerateUI(PostProcessingConfigDi wxTextCtrl* text_ctrl = new wxTextCtrl(parent, wxID_ANY, string_value); // Disable the textctrl, it's only there to show the absolute value from the slider - text_ctrl->Enable(false); + text_ctrl->Disable(); // wxWidget takes over the pointer provided to it in the event handler. // This won't be a memory leak, it'll be destroyed on dialog close. |
