Search found 1280 matches

by tierra
Thu May 14, 2015 6:21 am
Forum: Compiler / Linking / IDE Related
Topic: Does wxWidgets 3.x know the term build "out-of-source"?
Replies: 4
Views: 1028

Re: Does wxWidgets 3.x know the term build "out-of-source"?

I seem to recall that all VS project files also use a common environment variable for configuring build locations. In the latest development version of wxWidgets, this is more easily managed by copying wx_setup.props to wx_local.props, and making changes there: http://wxwidgets.blogspot.com/2014/08/...
by tierra
Fri May 01, 2015 4:59 am
Forum: Compiler / Linking / IDE Related
Topic: Error building wxmsw 3.0.2 & vc++ 2003 toolkit
Replies: 7
Views: 1978

Re: Error building wxmsw 3.0.2 & vc++ 2003 toolkit

Well, it's worth noting that one reason it's bigger is because the Windows SDK comes pre-packaged with VC9 Express, while the older versions required downloading and installing it separately. Either case, it's obviously required for wxWidgets. Besides, considering how cheap disk space is these days,...
by tierra
Mon Apr 27, 2015 2:02 pm
Forum: C++ Development
Topic: GUI/App without subclassing
Replies: 3
Views: 930

Re: GUI/App without subclassing

Probably worth noting that without subclassing controls, panels, windows, or other various components, the biggest drawback is the lack of static event tables. If you are a procedural programmer though, you probably would rather use dynamic event tables anyway. This works in 2.8 and older using Conn...
by tierra
Mon Apr 27, 2015 1:06 am
Forum: C++ Development
Topic: GUI/App without subclassing
Replies: 3
Views: 930

Re: GUI/App without subclassing

Am I able to create a GUI application in wxWidgets without subclassing wxFrame/wxApp etc? This seems like a very restrictive, verbose, and annoying structure, but I can't find any resources that don't do it. wxWidgets is really designed as an object oriented library. At the least, you'll need to su...
by tierra
Sun Apr 26, 2015 7:54 am
Forum: Compiler / Linking / IDE Related
Topic: Error building wxmsw 3.0.2 & vc++ 2003 toolkit
Replies: 7
Views: 1978

Re: Error building wxmsw 3.0.2 & vc++ 2003 toolkit

That's unfortunate since I know VC6 wasn't officially dropped until 3.1:
https://groups.google.com/d/msg/wx-dev/ ... 5fTFit6D0J
by tierra
Sat Apr 25, 2015 7:13 pm
Forum: Compiler / Linking / IDE Related
Topic: Error building wxmsw 3.0.2 & vc++ 2003 toolkit
Replies: 7
Views: 1978

Re: Error building wxmsw 3.0.2 & vc++ 2003 toolkit

Which compiler version? You need at least VS2005 (VC 8). Support for VS2003 (VC 7.1) was dropped in wx 3.0. This is incorrect. VC6 support wasn't dropped until 3.1+. Also, VC7 is still supported in 3.1+ even when VC6 support was dropped. Of course, I'd still recommend that Joelito upgrade to at lea...
by tierra
Wed Apr 22, 2015 6:38 am
Forum: C++ Development
Topic: Easily starting a window maximized, and keeping it that way (Win7)
Replies: 1
Views: 739

Re: Easily starting a window maximized, and keeping it that way (Win7)

It's a pretty rare request since it very likely makes for a frustrating UI for users for mostly no benefit. I'm actually kind of surprised to even see that combination of style flags being mentioned in the manual. I'm not sure if what you have in mind is actually possible, but you might be able to d...
by tierra
Mon Apr 13, 2015 7:14 am
Forum: General Development
Topic: wxUSE_STL - Discussion on what it does, pros, cons
Replies: 5
Views: 2222

Re: wxUSE_STL - Discussion on what it does, pros, cons

But, when wxUSE_STL is OFF (default setting), it's not clear for me if wxWidgets still relay on underlying STL or not. The library doesn't rely on STL if wxUSE_STL is off, however, it will still provide the compatibility API which is just a copy of STL API against the wxWidgets containers, without ...
by tierra
Sun Apr 12, 2015 8:31 am
Forum: General Development
Topic: wxUSE_STL - Discussion on what it does, pros, cons
Replies: 5
Views: 2222

Re: wxUSE_STL - Discussion on what it does, pros, cons

I don't think Eranon is entirely clear on this either, so I'll give a shot at explaining it as I understand it. The only difference that changing wxUSE_STL makes is whether or not core wxWidgets classes use STL internally. The STL "compatibility" API is provided regardless of this setting (but will ...
by tierra
Fri Apr 03, 2015 10:48 pm
Forum: Component Writing
Topic: wxControl, wxPanel, wxFrame or wxWindow?
Replies: 1
Views: 2295

Re: wxControl, wxPanel, wxFrame or wxWindow?

wxControl provides API for handling (and sometimes automatically handling) clipboard operations, and keyboard mnemonics. As a general rule of thumb, think about how data could be copied from the clipboard into your "control". If there's only one single location for it to logically go, and there's al...
by tierra
Fri Mar 27, 2015 9:25 pm
Forum: C++ Development
Topic: Advice on creating GUI with wxWidgets
Replies: 1
Views: 587

Re: Advice on creating GUI with wxWidgets

BEGIN_EVENTSINK_MAP(Dialog, CDialogEx) ON_EVENT(Dialog, ID, 1, Function, ReturnValueOfFunction) END_EVENTSINK_MAP() wxWidgets static event tables are actually modeled after this design, and mostly works the same, but none of this actually has anything to do with threading. Another question is about...
by tierra
Tue Mar 17, 2015 5:41 am
Forum: C++ Development
Topic: Error get the name of the page in wxauinotebook
Replies: 4
Views: 941

Re: Error get the name of the page in wxauinotebook

It might help to know what the error is.
by tierra
Thu Mar 05, 2015 5:51 am
Forum: C++ Development
Topic: Windows Taskbar Jump List Event
Replies: 1
Views: 698

Re: Windows Taskbar Jump List Event

Support for managing the Windows 7+ taskbar features is only in the latest development version of wxWidgets (3.1.x+): See: http://docs.wxwidgets.org/trunk/classwx_task_bar_jump_list.html Of course, that doesn't necessarily mean you can manage it using native code yourself even if you're using wxWidg...
by tierra
Wed Feb 25, 2015 7:16 pm
Forum: C++ Development
Topic: Wxwidgets
Replies: 2
Views: 621

Re: Wxwidgets

Also, wxVector is compatible with the stl::vector interface, in fact, if wxWidgets is built in STL mode, it's just a typedef for std::vector. So if you have any local code that takes a wxVector, it should take very little to no changes in order to pass it a std::vector instead.
by tierra
Wed Feb 25, 2015 3:54 am
Forum: C++ Development
Topic: Resize Panel after hiding wxStaticBoxSizer
Replies: 5
Views: 1345

Re: Resize Panel after hiding wxStaticBoxSizer

but in one case I need both of them shown at the same time Oh, forget about wxSimplebook then, it doesn't do that. Nothing about your descriptions so far though sound impossible. Usually just takes the appropriate calls to the various Layout() and Fit() methods on the top level window containing th...