Search found 1287 matches

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: 5372

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 ...
by tierra
Fri Apr 03, 2015 10:48 pm
Forum: Component Writing
Topic: wxControl, wxPanel, wxFrame or wxWindow?
Replies: 1
Views: 4785

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 ...
by tierra
Fri Mar 27, 2015 9:25 pm
Forum: C++ Development
Topic: Advice on creating GUI with wxWidgets
Replies: 1
Views: 1963

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: 2175

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: 1535

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: 1527

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: 4052

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...
by tierra
Tue Feb 24, 2015 5:27 pm
Forum: C++ Development
Topic: Resize Panel after hiding wxStaticBoxSizer
Replies: 5
Views: 4052

Re: Resize Panel after hiding wxStaticBoxSizer

Are the two wxStaticBoxSizers contained in another sizer (either vertical or horizontal box sizer, orientation doesn't matter)? Another approach is to use the new wxSimpleBook control, which is mean to change pages like a wxNoteook, but without using tabs at all, and only switching pages internally ...
by tierra
Wed Feb 18, 2015 4:28 am
Forum: Forum Announcements
Topic: Subversion to Git Migration - SVN Going Read-Only
Replies: 0
Views: 16596

Subversion to Git Migration - SVN Going Read-Only

Starting on Friday, Feb 20th at 11PM UTC, the wxWidgets SVN repository will be switched to read-only mode. Commits will no longer made to the wxWidgets SVN repository at that time, and we will begin making commits directly to the new git repositories instead. The git repositories hosted at GitHub , ...
by tierra
Sat Feb 14, 2015 9:16 pm
Forum: C++ Development
Topic: wxAUI happiness
Replies: 1
Views: 1401

Re: wxAUI happiness

As far as I've read, this specific wxWidgets feature is still under development, by a single person? Well, it's always "in development", but it's included in both wxWidgets 2.8 and 3.0, and thus is considered "stable", but it's never quite been as solid as most other wxWidgets c...
by tierra
Thu Jan 08, 2015 11:06 pm
Forum: C++ Development
Topic: wxFlexGridSizer items don't expand
Replies: 2
Views: 2657

Re: wxFlexGridSizer items don't expand

Proportion controls the size of a sizer item in the direction correlating to the main orientation of the box sizer. In this case, your static box sizer is wxHORIZONTAL, so proportion refers to the horizontal size while the flags (wxEXPAND) controls the vertical size. The proportion you set on the wx...
by tierra
Wed Jan 07, 2015 8:22 am
Forum: General Development
Topic: How to contribute to wxPython Phoenix?
Replies: 3
Views: 2950

Re: How to contribute to wxPython Phoenix?

Right, you have to submit patches to Trac
by tierra
Mon Jan 05, 2015 8:30 pm
Forum: Platform Related Issues
Topic: Differences with modal dialogs
Replies: 1
Views: 1477

Re: Differences with modal dialogs

I would rather look for alternative ways to handle any processing you have in your idle event handler, and moving it to something more reliable, like a timer. Using idle events is rarely the appropriate choice. What are you processing in your idle event handler? If that route doesn't appeal to you, ...
by tierra
Mon Jan 05, 2015 8:21 pm
Forum: General Development
Topic: How to contribute to wxPython Phoenix?
Replies: 3
Views: 2950

Re: How to contribute to wxPython Phoenix?

The source code is actually mirrored to GitHub: https://github.com/wxWidgets/Phoenix (though patches aren't handled through GitHub)

Of course, you'd have to actually jump on the relevant wxPython mailing lists to get involved. Most wxPython devs aren't regulars on these forums.
by tierra
Wed Dec 31, 2014 2:51 pm
Forum: General Development
Topic: What software update mechanisms are currently used?
Replies: 2
Views: 2416

Re: What software update mechanisms are currently used?

WebUpdate was written by Francesco Montorsi, who has historically been highly involved in wxWidgets core development. However, he did mention taking an extended break to work on his PhD just over two years ago. I don't doubt it's still a quality component, but on the other hand, most application upd...