git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50972
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void Font::Create(const char *faceName, int characterSet,
int size, bool bold, bool italic,
void Font::Create(const char *faceName, int characterSet,
int size, bool bold, bool italic,
- bool WXUNUSED(extraFontFlag)) {
Release();
// The minus one is done because since Scintilla uses SC_SHARSET_DEFAULT
Release();
// The minus one is done because since Scintilla uses SC_SHARSET_DEFAULT
false,
stc2wx(faceName),
encoding);
false,
stc2wx(faceName),
encoding);
- //font->SetNoAntiAliasing(!extraFontFlag);
+ font->SetNoAntiAliasing(!extraFontFlag);
void ListBoxImpl::Append(const wxString& text, int type) {
long count = GETLB(id)->GetItemCount();
long itemID = GETLB(id)->InsertItem(count, wxEmptyString);
void ListBoxImpl::Append(const wxString& text, int type) {
long count = GETLB(id)->GetItemCount();
long itemID = GETLB(id)->InsertItem(count, wxEmptyString);
GETLB(id)->SetItem(itemID, 1, text);
maxStrWidth = wxMax(maxStrWidth, text.length());
if (type != -1) {
wxCHECK_RET(imgTypeMap, wxT("Unexpected NULL imgTypeMap"));
GETLB(id)->SetItem(itemID, 1, text);
maxStrWidth = wxMax(maxStrWidth, text.length());
if (type != -1) {
wxCHECK_RET(imgTypeMap, wxT("Unexpected NULL imgTypeMap"));
- long idx = imgTypeMap->Item(type);
- GETLB(id)->SetItemImage(itemID, idx, idx);
+ idx = imgTypeMap->Item(type);
+ GETLB(id)->SetItemImage(itemID, idx, idx);
}
void ListBoxImpl::SetList(const char* list, char separator, char typesep) {
}
void ListBoxImpl::SetList(const char* list, char separator, char typesep) {