X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/799ea01170e831c212320b0cb3038a91785e4789..4888e623a6869c6af62cfe42da6303f9c8870585:/src/common/popupcmn.cpp diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index b06a532c7a..0da4939868 100644 --- a/src/common/popupcmn.cpp +++ b/src/common/popupcmn.cpp @@ -40,9 +40,9 @@ #include "wx/univ/renderer.h" #endif // __WXUNIVERSAL__ -// there is no src/msw/popupwin.cpp to put this in, so we do it here - BTW we +// there is no src/{msw,mgl}/popupwin.cpp to put this in, so we do it here - BTW we // probably could do it for all ports here just as well -#ifdef __WXMSW__ +#if defined(__WXMSW__) || defined(__WXMGL__) IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow) #endif // __WXMSW__