The code that triggers this error is the following:
Code: Select all
new wxRichTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 | wxVSCROLL | wxHSCROLL | wxNO_BORDER | wxWANTS_CHARS);
Code: Select all
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/string.h>
#include <wx/richtext/richtextctrl.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/frame.h>
I have also tried using the sample code provided in the wxWidgets source but have received the same LNK2019 error:
https://github.com/wxWidgets/wxWidgets/ ... chtext.cpp
How could I resolve this error?
Thank you.