Search found 13 matches

by PJSJP
Sat Feb 15, 2020 1:18 pm
Forum: wxCode
Topic: wxSQLite3 minimum sample output errors
Replies: 7
Views: 12083

Re: wxSQLite3 minimum sample output errors

Thanks. I am aware it's time to upgrade - hopefully this will make me actually get round to doing it!
by PJSJP
Tue Feb 11, 2020 11:14 am
Forum: wxCode
Topic: wxSQLite3 minimum sample output errors
Replies: 7
Views: 12083

Re: wxSQLite3 minimum sample output errors

I am using Ubuntu 16.04, gcc 5.4.0 and GLIBC 2.23
by PJSJP
Sun Feb 09, 2020 3:49 pm
Forum: wxCode
Topic: wxSQLite3 minimum sample output errors
Replies: 7
Views: 12083

Re: wxSQLite3 minimum sample output errors

Thanks. I compiled the wxSQLite3 library following the instructions here https://github.com/utelle/wxsqlite3 I was originally trying to compile the minimal sample from within CodeBlocks by including the wxSqlite3 code in with the minimal project. When I eventually decided to try compiling the wxSqli...
by PJSJP
Sat Feb 08, 2020 10:34 am
Forum: wxCode
Topic: wxSQLite3 minimum sample output errors
Replies: 7
Views: 12083

wxSQLite3 minimum sample output errors

I am new to SQLite and have eventually managed to run the wxSQLite3 sample 'minimum'. The output looks fine until it gets to 'Start testing ciphers'. I am using Ubuntu 16.04, wxWidgets 3.0.3 (GTK3) and wxSQLite3 4.5.1 compiled as a library. (I have been looking for a way to post the output in some s...
by PJSJP
Thu Apr 18, 2013 2:09 pm
Forum: Compiler / Linking / IDE Related
Topic: Problems with Visual c++ express 2010
Replies: 7
Views: 4281

Re: Problems with Visual c++ express 2010

I used wx_vc9.sln. I have made some progress in the meantime. I restarted my machine (I hadn't done so after the repair of VC++ 2010, although it had restarted during the repair) and now the static debug version is compiling. There are warnings of the form 'warning MSB8012: TargetPath(D:\wxWidgets-2...
by PJSJP
Thu Apr 18, 2013 11:24 am
Forum: Compiler / Linking / IDE Related
Topic: Problems with Visual c++ express 2010
Replies: 7
Views: 4281

Re: Problems with Visual c++ express 2010

I'm running a debug build. Yes, I have tried rebuilding. I was going to try a release build to see if it was any better, but I discovered I never actually compiled the release version of wxWidgets. I must have used Visual c++ express 2008 to compile the debug version and I recently uninistalled 2008...
by PJSJP
Wed Apr 17, 2013 4:51 pm
Forum: Compiler / Linking / IDE Related
Topic: Problems with Visual c++ express 2010
Replies: 7
Views: 4281

Re: Problems with Visual c++ express 2010

Thanks I've tried the dependency walker as you suggested. It's giving me the error message 'The Side-by-Side configuration information for "myprog.EXE" contains errors.' Followed by the application configuration incorrect message I was getting when I ran it myself. There are 2 warnings for...
by PJSJP
Wed Apr 17, 2013 9:33 am
Forum: Compiler / Linking / IDE Related
Topic: Problems with Visual c++ express 2010
Replies: 7
Views: 4281

Problems with Visual c++ express 2010

Hi I'm running wxWidgets 2.8.12 with Visual c++ express 2010 on Windows xp - I haven't updated anything for a while! Everything was running smoothly on April 4th when I last used wxWidgets, then yesterday I tried to run the same programs (still in debug mode) and it came up with the 'This applicatio...
by PJSJP
Mon Dec 05, 2011 8:23 pm
Forum: C++ Development
Topic: dc.Clear() in a wxScrolledWindow
Replies: 8
Views: 2308

Re: dc.Clear() in a wxScrolledWindow

I assume OnDraw is being called by the framework. I have just overridden the function in my class which is derived from wxScrolledWindow.
by PJSJP
Thu Nov 24, 2011 12:26 pm
Forum: C++ Development
Topic: dc.Clear() in a wxScrolledWindow
Replies: 8
Views: 2308

Re: dc.Clear() in a wxScrolledWindow

I've tried to take out everything which is not relevant and here is the entire source. #pragma once #include "wx/wxprec.h" class wxTestApp : public wxApp { public: virtual bool OnInit(); }; class PictureWindow : public wxScrolledWindow { public: PictureWindow(wxWindow* parent); ~PictureWin...
by PJSJP
Wed Nov 23, 2011 5:03 pm
Forum: C++ Development
Topic: dc.Clear() in a wxScrolledWindow
Replies: 8
Views: 2308

Re: dc.Clear() in a wxScrolledWindow

When I scroll, the line carries on into the newly visible area, whereas the background reverts to a default grey.
by PJSJP
Wed Nov 23, 2011 9:30 am
Forum: C++ Development
Topic: dc.Clear() in a wxScrolledWindow
Replies: 8
Views: 2308

Re: dc.Clear() in a wxScrolledWindow

Thanks for your help. Why does DrawLine manage to draw outside the displayed area when Clear doesn't?
by PJSJP
Mon Nov 21, 2011 5:42 pm
Forum: C++ Development
Topic: dc.Clear() in a wxScrolledWindow
Replies: 8
Views: 2308

dc.Clear() in a wxScrolledWindow

I'm just trying out wxWidgets, so apologies if this is a beginners question. I'm using dc.Clear() to change the background colour, but when I scroll it has only changed the background colour in the part that was visible. The line which I drew does continue into the area which was initially hidden. H...