1. new wxList code
2. fixes to allow compilation at -W4 with VisualC++ 6.0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -328,7 +328,7 @@ wxString wxColourDatabase::FindName (const wxColour& colour) const
|
||||
|
||||
if (col->Red () == red && col->Green () == green && col->Blue () == blue)
|
||||
{
|
||||
char *found = node->key.string;
|
||||
const char *found = node->GetKeyString();
|
||||
if (found)
|
||||
return wxString(found);
|
||||
}
|
||||
@@ -621,12 +621,6 @@ wxSize wxGetDisplaySize()
|
||||
return wxSize(x, y);
|
||||
}
|
||||
|
||||
wxResourceCache::wxResourceCache () : wxList() {
|
||||
}
|
||||
|
||||
wxResourceCache::wxResourceCache (const unsigned int the_key_type) : wxList(the_key_type) {
|
||||
}
|
||||
|
||||
wxResourceCache::~wxResourceCache () {
|
||||
wxNode *node = First ();
|
||||
while (node) {
|
||||
|
||||
Reference in New Issue
Block a user