X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5c04fabb02c27bcc8115bff024d74ddd48f8175..905f21104d7808e6cce29758f824e21520cb3ff7:/include/wx/msw/spinctrl.h?ds=sidebyside diff --git a/include/wx/msw/spinctrl.h b/include/wx/msw/spinctrl.h index 40acd606bd..677e2f181a 100644 --- a/include/wx/msw/spinctrl.h +++ b/include/wx/msw/spinctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_MSW_SPINCTRL_H_ #define _WX_MSW_SPINCTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "spinctrl.h" #endif @@ -21,7 +21,7 @@ #include "wx/dynarray.h" class WXDLLEXPORT wxSpinCtrl; -WX_DEFINE_EXPORTED_ARRAY(wxSpinCtrl *, wxArraySpins); +WX_DEFINE_EXPORTED_ARRAY_PTR(wxSpinCtrl *, wxArraySpins); // ---------------------------------------------------------------------------- // Under Win32, wxSpinCtrl is a wxSpinButton with a buddy (as MSDN docs call