Search found 1 match

by 08S011003
Tue Dec 25, 2012 9:22 am
Forum: wxWidgets Development (Chinese)
Topic: You forgot to call g_type_init()
Replies: 2
Views: 5493

You forgot to call g_type_init()

本人刚接触wxWidgets,运行一个简单的程序, #include <wx/wx.h> /** A frame that contains a text control. */ class TextFrame : public wxFrame { public: /** Constructs the text control. */ TextFrame(); private: wxTextCtrl* text; }; /** An application that shows a frame with a text control. */ class TextApp : public wxA...