declare all NameStr[] strings as const char using the correct WXDLLIMPEXP_DATA_ macros; in the process, change wxPropGrid window classes to take 'const wxString& name' arguments instead of 'const wxChar *name'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include "wx/odcombo.h"
|
||||
|
||||
|
||||
const wxChar wxBitmapComboBoxNameStr[] = wxT("bitmapComboBox");
|
||||
const char wxBitmapComboBoxNameStr[] = "bitmapComboBox";
|
||||
|
||||
#if defined(wxBITMAPCOMBOBOX_OWNERDRAWN_BASED)
|
||||
|
||||
@@ -235,7 +235,7 @@ wxCoord wxBitmapComboBoxBase::MeasureItem(size_t WXUNUSED(item)) const
|
||||
int imgHeightArea = m_usedImgSize.y + 2;
|
||||
return imgHeightArea > m_fontHeight ? imgHeightArea : m_fontHeight;
|
||||
}
|
||||
|
||||
|
||||
return wxBCB_DEFAULT_ITEM_HEIGHT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user