Search found 21 matches

by ColinTaylor
Thu Sep 08, 2016 3:28 pm
Forum: C++ Development
Topic: Problem with wxStaticText
Replies: 3
Views: 1145

Re: Problem with wxStaticText

Under Linux (Ubuntu 14.04), trying to set the background colour of a wxStaticText object has no effect; the background remains transparent. As a workaround, it is possible to set the background colour of a wxTextCtrl object and this does work on Ubuntu. It is very straightforward to create a wxTextC...
by ColinTaylor
Fri Mar 04, 2016 10:05 am
Forum: C++ Development
Topic: wxWidgets 3.1.0 - wxActivityIndicator
Replies: 7
Views: 2564

Re: wxWidgets 3.1.0 - wxActivityIndicator

Your suggestion worked perfectly - many thanks :-)
by ColinTaylor
Fri Mar 04, 2016 8:52 am
Forum: C++ Development
Topic: wxWidgets 3.1.0 - wxActivityIndicator
Replies: 7
Views: 2564

Re: wxWidgets 3.1.0 - wxActivityIndicator

Many thanks for the suggestion plus link to the codelite page - I'll give it a try and report back
Colin
by ColinTaylor
Thu Mar 03, 2016 5:29 pm
Forum: C++ Development
Topic: wxWidgets 3.1.0 - wxActivityIndicator
Replies: 7
Views: 2564

Re: wxWidgets 3.1.0 - wxActivityIndicator

Thanks a lot for investigating and the explanation

Cheers, Colin
by ColinTaylor
Thu Mar 03, 2016 4:45 pm
Forum: C++ Development
Topic: wxWidgets 3.1.0 - wxActivityIndicator
Replies: 7
Views: 2564

Re: wxWidgets 3.1.0 - wxActivityIndicator

Thanks for the suggestions The sample compiles/runs but does not include the activity indicator page; in fact the whole of the activity indicator sample is wrapped inside #if wxUSE_ACTIVITYINDICATOR If I comment out the above, the sample fails to compile with the same error I reported earlier In the...
by ColinTaylor
Thu Mar 03, 2016 3:15 pm
Forum: C++ Development
Topic: wxWidgets 3.1.0 - wxActivityIndicator
Replies: 7
Views: 2564

wxWidgets 3.1.0 - wxActivityIndicator

I've been trying to see what this looks like but I can't get it to compile Platform / compiler : Windows 10 / mingw 4.7 wxWidgets 3.1.0 downloaded from https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.7z Extracted 'as is' from the 7z archive and compiled (with no error...
by ColinTaylor
Wed Mar 04, 2015 1:00 pm
Forum: C++ Development
Topic: wxFrame bring to front
Replies: 8
Views: 4882

Re: wxFrame bring to front

The following works fine on windows (tested extensively on XP, 7 and 8 / 8.1), not so sure how it is on Linux / other platforms. I'd like to claim the credit for writing it, but I can't - I've tried to acknowledge all those who contributed part of the solution ... bool CWindowUtilities::ForceWindowT...
by ColinTaylor
Fri Nov 21, 2014 1:05 pm
Forum: C++ Development
Topic: Question about Menu event handling
Replies: 2
Views: 1374

Re: Question about Menu event handling

Many thanks, works perfectly
by ColinTaylor
Fri Nov 21, 2014 12:28 pm
Forum: C++ Development
Topic: Question about Menu event handling
Replies: 2
Views: 1374

Question about Menu event handling

Windows 8.1 / WxWidgets 3.0.1 / Codelite 7.0 / wxFormBuilder 3.5.0 I've got a very simple app with a frame containing a menu; so the component hierarchy is wxFrame -> wxMenuBar -> wxMenu ("File") -> wxMenuItem ("Open") -> wxMenuItem ("Save") -> wxMenuItem ("Print&q...
by ColinTaylor
Mon Sep 01, 2014 11:05 am
Forum: C++ Development
Topic: wxStyledTextCtrl indentation guides
Replies: 1
Views: 931

Re: wxStyledTextCtrl indentation guides

The fix is to call SetIndentationGuides with parameter value 3.

Code: Select all

 m_StyledTextCtrl->SetIndentationGuides (3);
by ColinTaylor
Sun Aug 31, 2014 11:02 am
Forum: C++ Development
Topic: wxStyledTextCtrl indentation guides
Replies: 1
Views: 931

wxStyledTextCtrl indentation guides

Using wxWidgets 3.0 on Windows 7 I want to display indentation guidelines in a wxStyledTextCtrl component The code I've called is pretty simple m_StyledTextCtrl = new wxStyledTextCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, wxEmptyString); m_StyledTextCtrl->SetIndent (3); // number of ...
by ColinTaylor
Mon Mar 17, 2014 11:55 am
Forum: C++ Development
Topic: wxCmdLineParser give's assert!
Replies: 5
Views: 1946

Re: wxCmdLineParser give's assert!

One thing I think you should add is a check on the result of calling p.Parse(true); According to the wxWidgets documentation, the Parse method will return an answer as follows Parse the command line, return 0 if ok, -1 if "-h" or "--help" option was encountered and the help messa...
by ColinTaylor
Thu Dec 12, 2013 9:38 am
Forum: C++ Development
Topic: wxStyledTextCtrl styling issues
Replies: 3
Views: 4379

Re: wxStyledTextCtrl styling issues

Many thanks Eran, this works perfectly :D
by ColinTaylor
Mon Dec 09, 2013 10:30 am
Forum: C++ Development
Topic: wxStyledTextCtrl styling issues
Replies: 3
Views: 4379

wxStyledTextCtrl styling issues

Windows 8 / Codelite 5.3 / wxWidgets 2.9.5 I'm seeing some odd styling when using the wxStyledTextCtrl class, and I don't recall seeing this when using wxWidgets 2.9.4 (although haven't tested this) It seems easy to recreate ... 1. Create a codelite gui project, wxFrame using wxCrafter 2. Add a wxSt...
by ColinTaylor
Mon Nov 25, 2013 12:17 pm
Forum: C++ Development
Topic: No SaveToFile method for wxIconBundle?
Replies: 0
Views: 750

No SaveToFile method for wxIconBundle?

Windows 8 wxWidgets 2.9.5 Codelite 5.3 I've created a wxIconBundle object and added a couple of differently sized icons to it. I'd now like to save this bundle to a single windows icon file (*.ico), but I can't see any method in wxIconBundle to achieve this. Does anyone know how to do this? Thanks, ...