Search found 189 matches

by cecilio
Thu Oct 23, 2014 9:55 am
Forum: C++ Development
Topic: How to receive paint events in wxDialog
Replies: 4
Views: 2295

Re: How to receive paint events in wxDialog

Yes, I receive paint events but only the first one or when the app is minimized and then maximized. The dialog is not resizable. I do not understand why it doesn't receive paint events after another window moves over the dialog. But, nevertheless, I will look for other solutions, as your suggesstion...
by cecilio
Wed Oct 22, 2014 8:11 am
Forum: C++ Development
Topic: How to receive paint events in wxDialog
Replies: 4
Views: 2295

Re: How to receive paint events in wxDialog

Thanks doublemax. The dialog has a sizer and two controls on it: an static text and a gauge. This is the code: const long k_id_timer = wxNewId(); //--------------------------------------------------------------------------------------- class HelpDlg : public wxDialog { protected: wxStaticText* m_pMs...
by cecilio
Tue Oct 21, 2014 9:33 pm
Forum: C++ Development
Topic: How to receive paint events in wxDialog
Replies: 4
Views: 2295

How to receive paint events in wxDialog

My app displays a modal dialog. The dialog has only a sizer and two controls. I've defined a handler method for paint events and added the EVT_PAINT entry to the events table, but my handler method is only invoked when the ShowModal() method is invoked or if I minimize and maximize my app. Other act...
by cecilio
Thu Oct 16, 2014 3:27 pm
Forum: C++ Development
Topic: Notifications from wxExtHelpController
Replies: 0
Views: 1216

Notifications from wxExtHelpController

I would like to use the wxExtHelpController for my app help system. But I'm finding a problem: if the internet browser is not yet running when the user clicks on 'Help' button/menu item, launching the browser takes some time, and no visual clues (hourglass mouse cursor, message dialog, or other) is ...
by cecilio
Mon Apr 02, 2012 6:36 pm
Forum: Announcements and Discoveries
Topic: [ANN] library for rendering music scores
Replies: 1
Views: 4910

[ANN] library for rendering music scores

I'm glad to announce the availability of a new library: the Lomse library. It bundles all stuff needed for adding music scores renderization and playback capabilities to your wxWidgets applications. It is free open source (BSD 2-clause) platform independent C++ code. It is ready to be used in your w...
by cecilio
Tue Jan 10, 2012 8:56 am
Forum: Platform Related Issues
Topic: problem installing wxWidgets in Ubuntu 11.04
Replies: 5
Views: 4089

Re: problem installing wxWidgets in Ubuntu 11.04

but it can still be replaced by kde uhm! I didn't think about using KDE. I tried it time ago but, at that time I preferred GNOME, and since then I've been using it. Perhaps it is time to try KDE again. I will consider it. Perhaps it's because you upgraded, while here I have a fresh install.. Thanks...
by cecilio
Mon Jan 09, 2012 8:52 pm
Forum: Platform Related Issues
Topic: problem installing wxWidgets in Ubuntu 11.04
Replies: 5
Views: 4089

Re: problem installing wxWidgets in Ubuntu 11.04

Great! I have found the file in /usr/lib/i386-linux-gnu/glib-2.0/include. Now the problem is:
How do I tell wxWidgets installation procedure the new location?

I'm surprised nobody had this problem since 11.04 was released! What I am doing wrong?

Regards,
Cecilio
by cecilio
Mon Jan 09, 2012 7:42 pm
Forum: Platform Related Issues
Topic: problem installing wxWidgets in Ubuntu 11.04
Replies: 5
Views: 4089

Re: problem installing wxWidgets in Ubuntu 11.04

Hi David, Not that it matters, but what was wrong with 11.10? I hate Unity! In 11.04 I can switch back to gnome2. Not sure if that is possible with 11.10. If I have time, I will try to learn to use Unity but, probably, I will move to Linux Mint. In my last attempt to use Unity I couldn't use it for ...
by cecilio
Mon Jan 09, 2012 7:08 pm
Forum: Platform Related Issues
Topic: problem installing wxWidgets in Ubuntu 11.04
Replies: 5
Views: 4089

problem installing wxWidgets in Ubuntu 11.04

Due to a compatibility issue I has just upgraded from Ubuntu 10.04 LTS to 11.04 without waiting for 12.04. Now I am trying to compile and install several versions of wxWidgets from the sources. I am following the procedure I used to follow, basically: Dounload wxWidgets: cd ~/wxWidgets wget http://p...
by cecilio
Fri Dec 02, 2011 4:20 pm
Forum: Announcements and Discoveries
Topic: ANN: wxMidi 1.5 released
Replies: 0
Views: 2913

ANN: wxMidi 1.5 released

Version 1.5 of the wxCode component wxMidi is available for download from http://sourceforge.net/projects/wxcode. Just minimum backwards compatible changes: * Portmidi latest version (217) has changed the definition of PmTimestamp from 'long' to 'int'. This causes some compilation problems in wxMidi...
by cecilio
Thu Nov 10, 2011 5:50 pm
Forum: C++ Development
Topic: Can not change panel in wxAuiNotebook
Replies: 6
Views: 2592

Re: Can not change panel in wxAuiNotebook

Problem solved. It was caused by my app. Just in case someone is interested, the problem was caused by the repaint logic of my app that didn't take into account if the window was visible or not. Therefore, when a tab was selected, hidden tabs receiving on-size events were all repainted. I do not yet...
by cecilio
Wed Nov 09, 2011 11:05 am
Forum: C++ Development
Topic: How to trace events?
Replies: 2
Views: 1672

Re: How to trace events?

Thank you David,

In my case I would like to investigate a couple of issues related to the same window. So I will try to handle all events in a single handler and invoke the real handlers from there, after logging the event.

Thanks for your help. Regards,
Cecilio
by cecilio
Wed Nov 09, 2011 9:58 am
Forum: C++ Development
Topic: How to trace events?
Replies: 2
Views: 1672

How to trace events?

Is there a simple way or a tool to trace the loop of events? I would like to investigate the sequence of events that creates a problem in my app.

Thanks.
by cecilio
Mon Nov 07, 2011 9:02 pm
Forum: C++ Development
Topic: Can not change panel in wxAuiNotebook
Replies: 6
Views: 2592

Re: Can not change panel in wxAuiNotebook

New info: I've changed just wxAuiNotebook by wxNotebook without changing any other line of code, not even adding or deleting anything. The program works perfectly now. Changing back to wxAuiNotebook and doing more tests,just by invoking GetPageCount() I get races of tab activation, activating one ta...
by cecilio
Sun Nov 06, 2011 8:50 pm
Forum: C++ Development
Topic: Can not change panel in wxAuiNotebook
Replies: 6
Views: 2592

Re: Can not change panel in wxAuiNotebook

Thank you. I've checked that window name is not the issue.

Lost again! :(