Search found 31 matches

by MrDoom
Sat Aug 16, 2014 11:00 pm
Forum: C++ Development
Topic: A list of images with captions
Replies: 6
Views: 2755

Re: A list of images with captions

Interesting. I managed to get that building farly easily, and it does indeed work (aside from looking incredible dated and non-standard). It uses synchronous non-cached thumbnail generation by default (which takes several minutes when thrown at a folder with a lot of large images), although I think ...
by MrDoom
Sat Aug 16, 2014 9:45 pm
Forum: C++ Development
Topic: A list of images with captions
Replies: 6
Views: 2755

Re: A list of images with captions

Hey SasQ, did you get anywhere with this? I've just ran into pretty much the exact same issues when trying to use a wxListCtrl to display a grid of images (in my case, a grid of thumbnails which are all the same size). I also notice that the text doesn't wrap, so long filenames are causing a higgedl...
by MrDoom
Fri Sep 30, 2011 4:54 pm
Forum: Component Writing
Topic: How to get the delta size in a wxEVT_SIZE event handler?
Replies: 2
Views: 7888

Re: How to get the delta size in a wxEVT_SIZE event handler?

Fair enough. That's what I'd done already as a workaround but it still seems pretty hacky to me :(
by MrDoom
Fri Sep 30, 2011 3:55 pm
Forum: Component Writing
Topic: How to get the delta size in a wxEVT_SIZE event handler?
Replies: 2
Views: 7888

How to get the delta size in a wxEVT_SIZE event handler?

Hey, I'm trying to work out the delta size of a panel inside a custom wxEVT_SIZE event handler but I'm not having much luck with it. I was hoping I'd just be able to use GetClientSize on my panel, then get the size from the wxSizeEvent, and work out the delta from those two values; however both thes...
by MrDoom
Sun Sep 18, 2011 6:48 pm
Forum: C++ Development
Topic: wxToolBar::SetToolBitmapSize doesn't go above 32x32px?
Replies: 2
Views: 1375

Re: wxToolBar::SetToolBitmapSize doesn't go above 32x32px?

Hmm, interesting. I'm not sure why, but I had it in my head that the icons used by native OS X apps on toolbars were bigger than that; checking again however I can see that this is not the case, and that they do in fact use 32x32px icons. Thanks for the info (perhaps this size limitation should be n...
by MrDoom
Sun Sep 18, 2011 5:16 pm
Forum: C++ Development
Topic: wxToolBar::SetToolBitmapSize doesn't go above 32x32px?
Replies: 2
Views: 1375

wxToolBar::SetToolBitmapSize doesn't go above 32x32px?

Hey all, I'm trying to use SetToolBitmapSize to allow me to use 64x64px icons on a toolbar in OS X using wxPython (2.9.2 - Cocoa), however it seems that no matter what I do, I always end up with 32x32px icons :S My source icon is simply a 64x64px black square saved as a PNG file (Test64.png). Is it ...
by MrDoom
Fri Sep 16, 2011 9:10 pm
Forum: C++ Development
Topic: file system change notification
Replies: 4
Views: 1938

Re: file system change notification

Is the documentation still out of date for this class? I'm interested in using it in a wxPython project I'm working on, however the documentation suggests that the class isn't really at a production level yet. Is it still under active development? If it is, I can probably wait until it is finished, ...
by MrDoom
Fri Sep 25, 2009 2:44 am
Forum: C++ Development
Topic: Cross-platform draw tray icon
Replies: 4
Views: 1384

They are, probably just a lot of them drawn using a custom drawn image at runtime.
by MrDoom
Wed Sep 23, 2009 8:51 pm
Forum: C++ Development
Topic: Cross-platform draw tray icon
Replies: 4
Views: 1384

by MrDoom
Wed Sep 23, 2009 5:03 pm
Forum: C++ Development
Topic: Cant open setup.h
Replies: 3
Views: 1044

Yes, those files are added as a post-build step, it's usually a good hint that you haven't built wxWidgets. That said, even if you did have the setup.h file, if you hadn't built wxWidgets you would have still had a load of linker errors when it couldn't find the libs anyway :)
by MrDoom
Wed Sep 23, 2009 4:00 pm
Forum: C++ Development
Topic: Cant open setup.h
Replies: 3
Views: 1044

Have you also built the wxWidgets libs using Visual Studio? Open "./build/msw/wx.sln" and build the "Debug" and "Release" configurations.
by MrDoom
Mon Sep 21, 2009 6:27 pm
Forum: C++ Development
Topic: Maximize() doesn't obey splitter sash-gravity?
Replies: 6
Views: 2545

Yield didn't work, I don't think there were any idle events in the queue at the point at which I called it. I have now got a solution that works, although this is even more hacky since I'm calling what should be an internal function to create an idle event. wxGetApp()->SendIdleEvents(this, wxIdleEve...
by MrDoom
Mon Sep 21, 2009 5:34 pm
Forum: C++ Development
Topic: Maximize() doesn't obey splitter sash-gravity?
Replies: 6
Views: 2545

After looking at it some more, I noticed this in the auto-generated code from wxFormBuilder. void m_mainSplitterOnIdle( wxIdleEvent& ) { m_mainSplitter->SetSashPosition( 279 ); m_mainSplitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( CEditorGUI::m_mainSplitterOnIdle ), NULL, this ); } void m_...
by MrDoom
Mon Sep 21, 2009 2:58 pm
Forum: Platform Related Issues
Topic: Ugly wxNotebook tabs on Vista with Aero
Replies: 2
Views: 1360

Thanks for the advice. I ended up using a wxAUINotebook instead, that uses a darker colour for it's background.

Image
by MrDoom
Mon Sep 21, 2009 2:12 pm
Forum: C++ Development
Topic: System menu...
Replies: 4
Views: 1350

If you are using wxWidgets on Windows, you are also using wxMSW (wxMicrosoftWindows). Aside from using the Win32 API, I'm not sure how else you would do this since it is very Windows specific.