Search found 1409 matches

by benedicte
Sat Nov 08, 2008 1:04 pm
Forum: Compiler / Linking / IDE Related
Topic: Generating .po files with poEdit
Replies: 7
Views: 1735

You don't generate a .po file WITH poEdit. You first generate a .po file with xgettext, then use poEdit (or any other text editor) to translate the strings to localize. You can do a quick search in this forum with the following terms: xgettext i18n (stands for internationalization) wxLocale poEdit M...
by benedicte
Tue Aug 19, 2008 8:05 am
Forum: C++ Development
Topic: TABing between Toolbar Controls
Replies: 1
Views: 558

Re: TABing between Toolbar Controls

I have added a wxToolbar to a wxFrame which only contains three wxSpinCtrls. I want to be able to get an event when a user changes the spin control values via either the spin buttons or when the associated text field is changed. The EVT_SPINCTRL event is working great when the user clicks on the sp...
by benedicte
Thu Aug 14, 2008 9:04 am
Forum: C++ Development
Topic: Generating events for wxSpinButton
Replies: 2
Views: 596

Re: Generating events for wxSpinButton

Anyone knows how to simulate press on a spin button? What event I should send to it and how? Thanks. Alex. Did you try to have al look at wxSpinEvent, as described in the wxWidgets documentation ? Herebelow is a sample of user code sending a "command" event void MyWindow::SendEvent() { wxCommandEve...
by benedicte
Sun Jun 22, 2008 4:30 pm
Forum: C++ Development
Topic: disable dialog wxButton if any changes to wxTextCtrl
Replies: 8
Views: 1250

Do not use EVT_UPDATE_UI but EVT_TEXT or EVT_TEXT_ENTER.

A wxUpdateUiEvent is generated on a menu/toolbar item to let you check/uncheck or enable/disable it...
You need to handle the text input event to enable the button.
by benedicte
Sun Jun 22, 2008 4:09 pm
Forum: C++ Development
Topic: Displaying í and the other latin chars..how?
Replies: 7
Views: 1343

Did you try to use the _ macro instead of wxT ?

Code: Select all

wxPuts(_("García")); 
by benedicte
Thu Jun 05, 2008 9:24 am
Forum: C++ Development
Topic: WxListCtrl edit second column
Replies: 2
Views: 756

In such a case, the best is to use wxGrid.
by benedicte
Tue May 27, 2008 7:25 pm
Forum: C++ Development
Topic: Calling an event by a literal
Replies: 5
Views: 998

Isn't the "event table" what you need ?
by benedicte
Mon May 26, 2008 4:34 pm
Forum: C++ Development
Topic: wxCmdLineParser
Replies: 1
Views: 1042

I made a post about this some time ago (http://forums.wxwidgets.org/viewtopic.php?t=3882). Maybe you could have a look at it and compare with your code.
by benedicte
Thu May 22, 2008 4:23 pm
Forum: C++ Development
Topic: context help and xrc
Replies: 1
Views: 465

Look at wxContextHelp and wxContextHelpButton.
I don't use them, so I can't tell you if they are linked to XRC or not.
by benedicte
Thu May 22, 2008 4:20 pm
Forum: C++ Development
Topic: Get id of a changed combobox
Replies: 2
Views: 713

Re: Get id of a changed combobox

Hello, I'm writing a programm with an unknown number of comboboxes which are defined in a xrc file. To get the value of the comboboxes I wanted to use just one event function for all comboboxes. But to get the value I need the id of the changed combobox. How do I get this id? Thanks Use the followi...
by benedicte
Mon Aug 27, 2007 5:16 pm
Forum: Platform Related Issues
Topic: Problem with wxProcess in intel mac machines
Replies: 6
Views: 1053

We've spent some time on this bug, and found a solution in the wxWidgets 2.8.4 version. We imported back the bug fix in our 2.6.3 branch, and it works. It may help you too. Look for the history for file src/mac/corefoundation/utilsexc_cf.cpp in the SVN repository. The revision #46546 should give you...
by benedicte
Mon Aug 27, 2007 5:08 pm
Forum: C++ Development
Topic: wxTreeCtrl, hidden root incompatible with ExpandAll() ?
Replies: 4
Views: 996

ioio wrote:
benedicte wrote:You just need to store/get the root item (wxTreeItemId) and call ExpandAllChildren.
This is wrong, ExpandAllChildren() gives an assertion as well on hidden root item.
Apply the patch and you'll don't get anymore the assertion.
by benedicte
Sat Aug 18, 2007 12:12 pm
Forum: wxCode
Topic: Spam in Wiki of wxCode
Replies: 1
Views: 770

The "history" page (http://wxcode.sourceforge.net/wiki/pmwi ... ction=diff) gives you all the past versions of the Wiki page.
by benedicte
Sat Aug 18, 2007 12:08 pm
Forum: C++ Development
Topic: wxTreeCtrl, hidden root incompatible with ExpandAll() ?
Replies: 4
Views: 996

You just need to store/get the root item (wxTreeItemId) and call ExpandAllChildren.
by benedicte
Fri Aug 03, 2007 5:04 pm
Forum: C++ Development
Topic: probleme with popupmenu and wxListCtrl
Replies: 1
Views: 593

Maybe you can simply get the currently selected line in the listCtrl when you enter the "OnDeleteContact" function.