Monday 15 September 2014

c++ - wxWidgets wxSpinCtrl incomplete type -


I am confused with my header, I specify a member wxSpinCtrl * spinControl and When I want to be in the manufacturer spinControl = new wxSpinCtrl (this, wxID_ANY); I get an error: invalid usage of incomplete type "class" wxSpinCtrl \ ". This problem is that I have no other controls that were used in wxWidgets so far. There is something special about this

There is nothing special about this, but you have to do #include & Lt; wx / spinctrl.h & gt; before using it.

No comments:

Post a Comment