Search found 186 matches
- Wed Jun 21, 2006 9:52 pm
- Forum: Compiler / Linking / IDE Related
- Topic: wxStyledTextCtrl 'undefined reference' error in Linux
- Replies: 2
- Views: 697
Thanks benedicte, I finally got it to work by compiling wxStyledTextCtrl as a shared library. (libxslt and wxStyledTextCtrl are the only libraries that pose this problem for my project.) I'm happy to use the shared libraries for now and I'm delighted to have my whole application compile under Linux ...
- Wed Jun 21, 2006 3:28 pm
- Forum: Compiler / Linking / IDE Related
- Topic: wxStyledTextCtrl 'undefined reference' error in Linux
- Replies: 2
- Views: 697
wxStyledTextCtrl 'undefined reference' error in Linux
I get a linker error from /usr/local/lib/libwx_gtk2u_stc-2.6.a.
In function wxStyledTextCtrl::OnScroll: undefined reference to wxScrollBar::ms_classInfo.
Further errors point to stc.cpp.
What is going wrong? How can I fix it?
In function wxStyledTextCtrl::OnScroll: undefined reference to wxScrollBar::ms_classInfo.
Further errors point to stc.cpp.
What is going wrong? How can I fix it?
- Wed Jun 14, 2006 4:01 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Fedora Core 5: building contrib/stc
- Replies: 2
- Views: 1947
- Wed Jun 14, 2006 11:29 am
- Forum: wxCode
- Topic: WxScintilla Help
- Replies: 9
- Views: 2547
You could try the following to apply syntax colouring (the example is for XML, but you could use any lexer here): SetLexer(wxSTC_LEX_XML); StyleSetForeground(wxSTC_STYLE_DEFAULT, *wxBLACK); StyleSetBackground(wxSTC_STYLE_DEFAULT, *wxWHITE); StyleClearAll(); StyleSetForeground(wxSTC_H_TAG, *wxBLUE); ...
- Wed Jun 14, 2006 11:08 am
- Forum: Compiler / Linking / IDE Related
- Topic: Fedora Core 5: building contrib/stc
- Replies: 2
- Views: 1947
Fedora Core 5: building contrib/stc
How do I go about building contrib/stc in Fedora Core 5? wxW compiles without problems, but what is the best way of building the contrib classes?
My current wxW build is configured as follows:
My current wxW build is configured as follows:
Code: Select all
../configure --enable-unicode --disable-shared --with-gtk
- Wed Jun 07, 2006 9:23 am
- Forum: Component Writing
- Topic: wxCoolBar updates
- Replies: 1
- Views: 1222
wxCoolBar updates
Is anyone maintaining wxCoolBar? I know a lot of people are migrating to wxAUI and others, but so far I haven't seen anything that beats the look and feel of native rebar controls on MSW. The issue is that Martin's excellent rebar wrapper feels incomplete: for example, function keys call up debug me...
- Wed May 31, 2006 4:16 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling Win32 wx application on Linux
- Replies: 2
- Views: 733
- Sun May 28, 2006 8:31 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling Win32 wx application on Linux
- Replies: 2
- Views: 733
Compiling Win32 wx application on Linux
I'd like to compile my Win32 wxWidgets app on Linux and I was wondering how best to go about this. I'm using wxW 2.61 Unicode with Dev-C++/MinGW and I'd like to use the same source files for both compiles. Should I install Linux on a separate partition? Would Ubuntu work? How difficult is it to move...
- Tue May 16, 2006 3:44 pm
- Forum: C++ Development
- Topic: wxHtmlWindow and Unicode BOM?
- Replies: 3
- Views: 1025
UTF-8 displays fine. Just make sure you specify
in the header. (The file I tested also has an XML declaration with encoding="UTF-8" but I don't know if wxHtmlWindow needs this.)
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- Tue May 16, 2006 12:53 pm
- Forum: C++ Development
- Topic: wxHtmlWindow and Unicode BOM?
- Replies: 3
- Views: 1025
- Thu May 04, 2006 8:17 am
- Forum: C++ Development
- Topic: wxLaunchDefaultBrowser
- Replies: 7
- Views: 1740
- Wed May 03, 2006 10:02 pm
- Forum: C++ Development
- Topic: wxLaunchDefaultBrowser
- Replies: 7
- Views: 1740
- Wed Apr 05, 2006 3:14 pm
- Forum: C++ Development
- Topic: parsing in a html document
- Replies: 3
- Views: 895
The libxml2 wrapper is available at http://wxcode.sourceforge.net/components/wxxml2/.
It should do everything you need.
It should do everything you need.
- Wed Apr 05, 2006 11:32 am
- Forum: C++ Development
- Topic: parsing in a html document
- Replies: 3
- Views: 895
I wouldn't recommend regex parsing. Only a compliant parser can do this reliably. If your input file is well-formed XHTML, you can use any parser you wish. Expat is a good choice (I think there are existing wrappers for wxW; alternatively you could just call the Expat library itself). If you're work...
- Sun Apr 02, 2006 10:23 am
- Forum: Platform Related Issues
- Topic: Printing Sample on Mac and Windows
- Replies: 6
- Views: 1403
If you need fixed positions, wxHtmlEasyPrinting won't be suitable. I use it for text, where HTML's ability to lay out paragraphs is helpful (and setting up headers only takes a couple of seconds). There's no need to limit the content to HTML. I just pour my content into a skeletal HTML doc and repla...