Search found 1129 matches
- Sat May 27, 2006 1:57 pm
- Forum: wxCode
- Topic: Still problms with wxSLQlite3 Isopen() method
- Replies: 3
- Views: 1406
Re: Still problms with wxSLQlite3 Isopen() method
Sorry about this. I have done as you said but now I get the error below when I compile to a static library. 1390 C:\Dev-Cpp\wxSQLite3Lib2\wxsqlite3.cpp no `bool wxSQLite3Database::IsOpen()' member function declared in class `wxSQLite3Database' This indicates that the compiler uses an old version of...
- Fri May 26, 2006 8:39 pm
- Forum: wxCode
- Topic: Missing IsOpen() in wxSQLite3
- Replies: 3
- Views: 1351
Re: Missing IsOpen() in wxSQLite3
I have got wxSQLite3 working and I am currently playing around with it. The documentation says that there is a wxSQLite3Database::IsOpen() class but on trying to use it, it is not there. Should it be there or is the documentation wrong? Is there any other way to check if the db is open? Any help wo...
- Wed May 17, 2006 8:21 am
- Forum: The Code Dump
- Topic: wxpdfdocument please for image
- Replies: 1
- Views: 2081
- Tue May 16, 2006 10:28 pm
- Forum: wxCode
- Topic: probleme is image only and wxpdf...
- Replies: 3
- Views: 2401
Re: probleme is image only and wxpdf...
int main(int argc, char** argv) { wxFileInputStream f(_T("wxpdfdoc.png")); wxPdfDocument pdf; pdf.Open(); pdf.AddPage(); pdf.SetFont(_T("courier"),_T("B"),10); //wxColour(red=0, green=0, blue=0) pdf.SetTextColor(wxColour(220,50,50)); // pdf.SetTextColor(128); pdf.Text(...
- Wed May 10, 2006 2:54 pm
- Forum: C++ Development
- Topic: wxlocale corrupts my mesh files?!
- Replies: 19
- Views: 3959
so the first wxlocale (the one which i assign the chosen language to) will be used to translate strings, while the 2nd one will be used by the c functions? sounds like it could work, but it's actually an ugly hack, isn't it? :/ is this really better than simply deactivating wxlocale and then re-act...
- Wed May 10, 2006 2:04 pm
- Forum: C++ Development
- Topic: wxlocale corrupts my mesh files?!
- Replies: 19
- Views: 3959
- Wed May 10, 2006 10:21 am
- Forum: C++ Development
- Topic: wxlocale corrupts my mesh files?!
- Replies: 19
- Views: 3959
so if i understand you all correctly than i have two options.. a) i look into the osg code and replace all calls to atof and printf in the file loading routines with the stl alternatives (which i will have to do for every single file format and for every new release) Not very attractive, indeed. Pr...
- Wed May 10, 2006 9:30 am
- Forum: C++ Development
- Topic: wxlocale corrupts my mesh files?!
- Replies: 19
- Views: 3959
The only STL I see there is std::string, which imho is not the best part of it ;) Don't know what kind of streams you use, and how you read/write doulbes there. Well, the code in question is not Vexator's own code but osg code. Although osg uses C++ streams to read and write files osg does not conv...
- Wed May 10, 2006 7:22 am
- Forum: C++ Development
- Topic: wxlocale corrupts my mesh files?!
- Replies: 19
- Views: 3959
still i think that sth like wxLocale::Enable() and wxLocale::Disable() would be a good idea. this way i could simply disable the localisation, load my mesh data and re-enable it. This is not an easy task since wxWidgets uses the C style locale, that is, a single global locale instance which influen...
- Tue May 09, 2006 10:14 pm
- Forum: C++ Development
- Topic: wxlocale corrupts my mesh files?!
- Replies: 19
- Views: 3959
- Tue May 09, 2006 10:04 pm
- Forum: C++ Development
- Topic: wxlocale corrupts my mesh files?!
- Replies: 19
- Views: 3959
ok but WHY is the data localized at all?! shouldn't actually only strings enclosed in the _T() macro be localized? is there no way i can prevent wx from editing the mesh data? :( No. As soon as you change the locale the C standard library functions like the scanf and printf family of functions (whi...
- Tue May 09, 2006 8:34 pm
- Forum: C++ Development
- Topic: wxlocale corrupts my mesh files?!
- Replies: 19
- Views: 3959
Re: wxlocale corrupts my mesh files?!
(...) so it seems that the i18n stuff is somehow corrupting the loaded model data.. any ideas?! I assume the ascii data files contain floating point data and you are setting a german locale. If this assumption is true, the explanation is simple: after setting the locale the decimal separator is no ...
- Mon May 08, 2006 2:12 pm
- Forum: wxCode
- Topic: wxPdfDocument - Edit PDF
- Replies: 1
- Views: 1422
Re: wxPdfDocument - Edit PDF
is it possible with wxPdfDocument to Edit PDF file after creating? For Example mark text or include notice etc. wxPdfDocument is a component for generating PDF files, not for editing existing PDF files. For a future release it is planned to support the use of existing PDF files as templates for gen...
- Sun May 07, 2006 5:21 pm
- Forum: C++ Development
- Topic: Working wxWidget and MySQL/Oracle
- Replies: 7
- Views: 3078
Re: Working wxWidget and MySQL/Oracle
I need help on hooking up wx class objects ie wxWidgets UI and Oracle/MySQL. It would be nice to have one set of objects like wxDatabaseUI to open connections, query, update etc, via class methods. Any ideas? At wxCode there is a component databaselayer providing a unified interface to several data...
- Sat Apr 29, 2006 5:52 pm
- Forum: wxCode
- Topic: wxPdfDocument::Image
- Replies: 5
- Views: 2027
[quote="Rubik"]I think I have localist the problem to this row
In my projekt it tryes to open fileURL
Code: Select all
wxFSFile* imageFile = wxPdfImage::GetFileSystem()->OpenFile(fileURL);