X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c848185a6e40ca6959b4084a4849209453cd7787..9d5cfd0e64a2c09d957517405758de680806e674:/src/generic/htmllbox.cpp diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index c1cc584ae5..07fbac049b 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -46,8 +46,8 @@ FORCE_WXHTML_MODULES() // small border always added to the cells: static const wxCoord CELL_BORDER = 2; -const wxChar wxHtmlListBoxNameStr[] = wxT("htmlListBox"); -const wxChar wxSimpleHtmlListBoxNameStr[] = wxT("simpleHtmlListBox"); +const char wxHtmlListBoxNameStr[] = "htmlListBox"; +const char wxSimpleHtmlListBoxNameStr[] = "simpleHtmlListBox"; // ============================================================================ // private classes @@ -191,7 +191,7 @@ public: private: const wxHtmlListBox& m_hlbox; - DECLARE_NO_COPY_CLASS(wxHtmlListBoxStyle) + wxDECLARE_NO_COPY_CLASS(wxHtmlListBoxStyle); }; // ---------------------------------------------------------------------------- @@ -278,7 +278,7 @@ wxHtmlListBox::GetSelectedTextColour(const wxColour& WXUNUSED(colFg)) const wxColour wxHtmlListBox::GetSelectedTextBgColour(const wxColour& WXUNUSED(colBg)) const { - return wxNullColour; + return GetSelectionBackground(); } // ----------------------------------------------------------------------------