wxStringHashTable

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
valiyuneski
Earned a small fee
Earned a small fee
Posts: 14
Joined: Thu Dec 11, 2008 3:01 pm

wxStringHashTable

Post by valiyuneski » Sun Jan 04, 2009 1:13 pm

I am trying to use wxStringHashTable, i include

#include <wx/hash.h>

class xxx
{
public:
xxx();
virtual ~xxx();
protected:
wxStringHashTable* m_pHashTable;
};

and i get this error
ISO C++ forbids declaration of ‘wxStringHashTable’ with no type
expected ‘;’ before ‘*’ token

Any ideas why is that ???

JimFairway
wxWorld Domination!
wxWorld Domination!
Posts: 1059
Joined: Sun Dec 30, 2007 6:40 pm
Location: Canada

Post by JimFairway » Sun Jan 04, 2009 2:25 pm

Hi,

I looks like wxStringHashTable has been phased out since release 2.4 in favour of STL.

See http://www.cplusplus.com/reference/stl/ for some reference material.

Jim
OS: Vista SP1, wxWidgets 2.8.7.

Post Reply