Search found 91 matches

by 72deluxe
Wed Jul 23, 2014 2:05 pm
Forum: C++ Development
Topic: Event for application losing focus/deactivating
Replies: 2
Views: 1507

Event for application losing focus/deactivating

Hello I know that there is an event for when focus is lost (wxFocusEvent) for a single window, but is there anything for when the application loses focus / is deactivated? I recall many years ago using Borland's libraries and their TApplication class had an event OnDeactivate for when the applicatio...
by 72deluxe
Fri May 02, 2014 3:01 pm
Forum: Platform Related Issues
Topic: Mavericks problem from font.cpp
Replies: 3
Views: 3200

Re: Mavericks problem from font.cpp

Just in case anyone is interested in this issue, there is a post on the groups about it:
https://groups.google.com/forum/#!topic ... rW3kLsbS3Y

And a fix has apparently been committed:
http://trac.wxwidgets.org/changeset/76393

All thanks to Stefan.

Hopefully this helps someone.
by 72deluxe
Sun May 26, 2013 12:12 am
Forum: C++ Development
Topic: RTTI and multiple inheritance
Replies: 2
Views: 3152

Re: RTTI and multiple inheritance

Hello

Sorry, the sample code didn't correctly reflect my code. It turns out that it was a bug in my own real code (and poor design actually!) so worry not. Many thanks nonetheless!

Thanks
Rich
by 72deluxe
Tue May 21, 2013 10:52 pm
Forum: C++ Development
Topic: RTTI and multiple inheritance
Replies: 2
Views: 3152

RTTI and multiple inheritance

Hello I have a panel that I have customised but have implemented extra common functions in another class. I have therefore used multiple inheritance, one to inherit wxPanel (and build stuff on it), and then another class that implements common properties and functions. Some of these functions are pu...
by 72deluxe
Tue Oct 09, 2012 3:40 pm
Forum: Platform Related Issues
Topic: Resources and executable icons in Windows
Replies: 2
Views: 4680

Re: Resources and executable icons in Windows

Thanks for the pointers. I did some shifting around in the .rc file, but the main change was to make the DefaultIcon entry in the registry point to the executablename.exe instead of executablename.exe,0. The other wxWidget icons are still in the executable, but my main problem of dodgy icons for ass...
by 72deluxe
Tue Oct 09, 2012 12:37 pm
Forum: Platform Related Issues
Topic: Resources and executable icons in Windows
Replies: 2
Views: 4680

Resources and executable icons in Windows

Hello I am using VS2008 C++ Express on Windows XP SP3. I embed my program icon into the executable using an RC file, which has the following contents: #include <wx.rc> progicon ICON "progicon.ico" I set this icon in the main part of the program using: #if defined(__WXMSW__) FFrame->SetIcon...
by 72deluxe
Mon Feb 13, 2012 9:04 pm
Forum: Platform Related Issues
Topic: wxMac wxScrolledWindow and raising windows
Replies: 18
Views: 5530

Re: wxMac wxScrolledWindow and raising windows

To anyone who is curious, I believe that the fix for this made it into 2.9.3, according to the notes at http://trac.wxwidgets.org/ticket/12363
by 72deluxe
Wed Nov 30, 2011 1:23 pm
Forum: Platform Related Issues
Topic: wxMac wxScrolledWindow and raising windows
Replies: 18
Views: 5530

Re: wxMac wxScrolledWindow and raising windows

Hi Brad I haven't tried the solution here, but I found some code at http://trac.wxwidgets.org/ticket/12363 that apparently fixes the problem. I am not sure if it has made it into SVN - it would be helpful if it had! Of course, the code on that page is from an old version of the file, but it is a gli...
by 72deluxe
Thu Sep 15, 2011 8:12 am
Forum: Platform Related Issues
Topic: Windows 8 Developer Preview
Replies: 2
Views: 2366

Re: Windows 8 Developer Preview

Thanks. I am always making that mistake here! Thanks again.
by 72deluxe
Wed Sep 14, 2011 8:50 am
Forum: Platform Related Issues
Topic: Windows 8 Developer Preview
Replies: 2
Views: 2366

Windows 8 Developer Preview

Hello I have just grabbed the Windows 8 Developer Preview, and thankfully it includes Visual Studio 11 with ability to create applications to fit in the new 'Metro' interface system. Although it was widely feared that these apps would only be able to be written in Javascript and HTML, it also includ...
by 72deluxe
Wed Feb 09, 2011 4:26 pm
Forum: Platform Related Issues
Topic: wxMac wxScrolledWindow and raising windows
Replies: 18
Views: 5530

In any case, trying to bring the small-window-in-big-window old paradigm to the mac will probably be quite painful, since it was never designed for that. Thanks for the reply. What paradigm do they recommend? From what I can see from using apps on the Mac, documents are shown in new windows entirel...
by 72deluxe
Wed Feb 09, 2011 1:57 pm
Forum: Platform Related Issues
Topic: wxMac wxScrolledWindow and raising windows
Replies: 18
Views: 5530

And, can you explain why you wish to use Raise? wxWidgets does not support overlapping components. Perhaps describe what you are trying to achieve and we can suggest a cleaner alternative Hi Thanks for replying, and for the clarification of the different parts of the source tree. Regarding the use ...
by 72deluxe
Wed Feb 09, 2011 11:09 am
Forum: Platform Related Issues
Topic: wxMac wxScrolledWindow and raising windows
Replies: 18
Views: 5530

did you try with wxOSX/Carbon (if building for 32 bits is possible for you) Hello again Further to the above two posts by me, I have done some digging around within the source and found src\osx\window_osx.cpp. Can anyone say whether this is used by the Carbon implementation exclusively, or the Coco...
by 72deluxe
Tue Feb 08, 2011 10:57 pm
Forum: Platform Related Issues
Topic: wxMac wxAUINotebook tab colours
Replies: 2
Views: 1219

Auria wrote:Hi,

this was fixed in SVN, see http://trac.wxwidgets.org/ticket/12784
Thanks, I will grab a patch and apply it. Thanks very much, greatly appreciated.

Rich
by 72deluxe
Tue Feb 08, 2011 6:53 pm
Forum: Platform Related Issues
Topic: wxMac wxScrolledWindow and raising windows
Replies: 18
Views: 5530

it works absolutely fine under GTK, with Windows needing a botch to get it to work, and Mac OSX not working at all, sadly. Ok, then probably OSX is the less friendly not GTK. Hi! I have tried this under Carbon on 2.9.1 and the raising and lowering works fine on that, just as in wxGTK and Windows. S...