diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-02-14 16:00:15 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-02-14 16:00:15 -0500 |
| commit | 50f600c834b5202a5e7a38fe5d4a6b5ca3bce122 (patch) | |
| tree | 946f8d99d85b9549ee8985a519b5b586a16cbec9 /Source/Core/DolphinWX/PostProcessingConfigDiag.cpp | |
| parent | 405444d4fec446fbcc8665fb8c1b6107220876ec (diff) | |
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. |
