From 000f8ef422a5c45dcc868ebfb4e86e9eb7dab38d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 21 Jan 2019 20:01:08 +0100 Subject: [PATCH] Put private wxQtChoice class inside an anonymous namespace No real changes, just avoid polluting global scope unnecessarily. --- src/qt/choice.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/qt/choice.cpp b/src/qt/choice.cpp index 1bd6511202..8c49d5e933 100644 --- a/src/qt/choice.cpp +++ b/src/qt/choice.cpp @@ -12,6 +12,9 @@ #include "wx/qt/private/winevent.h" #include +namespace +{ + class wxQtChoice : public wxQtEventSignalHandler< QComboBox, wxChoice > { public: @@ -36,6 +39,8 @@ void wxQtChoice::activated(int WXUNUSED(index)) handler->SendSelectionChangedEvent(wxEVT_CHOICE); } +} // anonymous namespace + wxChoice::wxChoice() : m_qtComboBox(NULL)