From 5109fce00cbc4718601005a16f9c41e728a9204f Mon Sep 17 00:00:00 2001 From: Arthur Moore Date: Mon, 9 Mar 2015 19:40:21 -0400 Subject: [PATCH] Removed yet another unneeded #define in wx/guiinit.cpp --- src/wx/guiinit.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/wx/guiinit.cpp b/src/wx/guiinit.cpp index 0ba77547..bfabe4f7 100644 --- a/src/wx/guiinit.cpp +++ b/src/wx/guiinit.cpp @@ -2802,16 +2802,13 @@ bool MainFrame::InitMore(void) getcbb("Bilinear", gopts.bilinear); getcbb("VSync", gopts.vsync); // FIXME: make cb disabled when not GL or d3d -#define getcbi(n, o, v) do { \ - cb=SafeXRCCTRL(d, n); \ - cb->SetValidator(wxBoolIntValidator(&o, v)); \ -} while(0) int mthr = wxThread::GetCPUCount(); if(mthr > 8) mthr = 8; if(mthr < 0) mthr = 2; - getcbi("Multithread", gopts.max_threads, mthr); + cb=SafeXRCCTRL(d, "Multithread"); + cb->SetValidator(wxBoolIntValidator(&gopts.max_threads, mthr)); if(mthr <= 1) cb->Hide(); #ifdef MMX