I get the following error when building wxDocView.

C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxdocview\docview\
src\doccom.cpp: In member function 'virtual a2dDocumentTemplate* 
a2dDocumentComm
andProcessor::SelectDocumentType(bool, a2dTemplateFlagMask)':
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxdocview\docview\
src\doccom.cpp:1881:33: error: no matching function for call to 
'wxArrayString::
wxArrayString(bool&)'
      wxArrayString strings( sort );
                                  ^

It appears that conditional macros were added to doccom.cpp in the past 
to use wxSortedArrayString when wxUSE_STL = 1. However, in wxWidgets 
3.0.0, a wxArrayString constructor with bool parameter doesn't exist 
even when wxUSE_STL = 0.

To get it to build, I removed the wxUSE_STL test and kept only the code 
that was normally included when wxUSE_STL = 1.

Best Regards,
David

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to