git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49017
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
////@begin forward declarations
class wxSymbolListCtrl;
////@begin forward declarations
class wxSymbolListCtrl;
-class WXDLLIMPEXP_CORE wxTextCtrl;
+class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
////@end forward declarations
////@end forward declarations
// increase the size twice, unless we're already too big or unless
// more is requested
// increase the size twice, unless we're already too big or unless
// more is requested
- const size_type increment = (m_size > 0)
- ? wxMin(m_size, ALLOC_MAX_SIZE)
- : ALLOC_INITIAL_SIZE;
+ //
+ // NB: casts to size_t are needed to suppress mingw32 warnings about
+ // mixing enums and ints in the same expression
+ const size_type increment = m_size > 0
+ ? wxMin(m_size, (size_type)ALLOC_MAX_SIZE)
+ : (size_type)ALLOC_INITIAL_SIZE;
if ( m_capacity + increment > n )
n = m_capacity + increment;
if ( m_capacity + increment > n )
n = m_capacity + increment;
unsigned int n;
T c = *i;
unsigned int n;
T c = *i;
n = c - wxT('0');
else
n = wxTolower(c) - wxT('a') + 10;
n = c - wxT('0');
else
n = wxTolower(c) - wxT('a') + 10;
class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
{
class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
{
- friend class WXDLLEXPORT wxAcceleratorTable;
+ friend class WXDLLIMPEXP_FWD_CORE wxAcceleratorTable;
public:
wxAcceleratorRefData();
virtual ~wxAcceleratorRefData();
public:
wxAcceleratorRefData();
virtual ~wxAcceleratorRefData();
class wxCheckListBoxItem : public wxOwnerDrawn
{
class wxCheckListBoxItem : public wxOwnerDrawn
{
-friend class WXDLLEXPORT wxCheckListBox;
+friend class WXDLLIMPEXP_FWD_CORE wxCheckListBox;
public:
// ctor
wxCheckListBoxItem(wxCheckListBox *pParent, size_t nIndex);
public:
// ctor
wxCheckListBoxItem(wxCheckListBox *pParent, size_t nIndex);