From 50f600c834b5202a5e7a38fe5d4a6b5ca3bce122 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 14 Feb 2015 16:00:15 -0500 Subject: DolphinWX: Change Enable(false) calls into Disable() where possible --- Source/Core/DolphinWX/PostProcessingConfigDiag.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinWX/PostProcessingConfigDiag.cpp') 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. -- cgit v1.2.3