summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
29fd317)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9125
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
};
static XMLID_record *XMLID_Records[XMLID_TABLE_SIZE] = {NULL};
};
static XMLID_record *XMLID_Records[XMLID_TABLE_SIZE] = {NULL};
-static int XMLID_LastID = wxID_HIGHEST;
/*static*/ int wxXmlResource::GetXMLID(const char *str_id)
{
/*static*/ int wxXmlResource::GetXMLID(const char *str_id)
{
+ static int XMLID_LastID = wxID_HIGHEST;
+
int index = 0;
for (const char *c = str_id; *c != '\0'; c++) index += (int)*c;
int index = 0;
for (const char *c = str_id; *c != '\0'; c++) index += (int)*c;