Search found 84 matches

by Allonii
Mon Jun 25, 2012 9:01 am
Forum: C++ Development
Topic: Intercept drag and drop
Replies: 2
Views: 1716

Re: Intercept drag and drop

xaviou wrote:Hi

Have you had a look at http://docs.wxwidgets.org/stable/wx_wxdndoverview.html ?

Regards
Xav'
Yes, I know how to use wx DnD for a single or a couple of formats, but not how to get notified for all formats.
by Allonii
Sun Jun 24, 2012 9:17 pm
Forum: C++ Development
Topic: Intercept drag and drop
Replies: 2
Views: 1716

Intercept drag and drop

Hi! I was wondering how one would intercept drag and drop operations, that is get notified when a user is performing a drag and drop and is hovering over the window. Now the problem is that wxDropTarget::OnDragOver is not called if I don't specify what format I accept. I don't need the data but just...
by Allonii
Wed Apr 04, 2012 11:02 am
Forum: C++ Development
Topic: Event Binding and wxXRC
Replies: 4
Views: 1185

Re: Event Binding and wxXRC

Wow did not actually read the description sorry! But thanks guys!
by Allonii
Wed Apr 04, 2012 10:55 am
Forum: C++ Development
Topic: Event Binding and wxXRC
Replies: 4
Views: 1185

Re: Event Binding and wxXRC

Thanks but what does this overloaded function then say?

Just by looking at the documentation I thought it was the same.
by Allonii
Wed Apr 04, 2012 10:14 am
Forum: C++ Development
Topic: Event Binding and wxXRC
Replies: 4
Views: 1185

Event Binding and wxXRC

Hi! It's the first time using the Bind/Unbind functions in wxEvtHandler and I'm having a problem since the application crashes. void OnBindEvent(wxCommandEvent&){ wxLogMessage("Bind"); } //In frame constructor wxPanel* panel; if(!wxXmlResource::Get()->Load("panel.xrc") || !wxXmlResource::Get()->Load...
by Allonii
Wed Mar 28, 2012 2:56 pm
Forum: Announcements and Discoveries
Topic: Space shooting game on Windows, Linux, and OSX
Replies: 6
Views: 4864

Re: Space shooting game on Windows, Linux, and OSX

I just watched a tutorial and I must say, Wow very nice game! It must took quite some time to implement it. Good work
by Allonii
Sun Oct 30, 2011 9:44 pm
Forum: Compiler / Linking / IDE Related
Topic: Disable Debug
Replies: 1
Views: 1099

Disable Debug

Hi! I have compiled wx 2.9.2 (monolithic) without any debug symbols by setting DEBUG_FLAG = 0 in the config file. The lib compiled and I got the wx dll. But I get linking problems when I try to compile my application (see below). I looked into wx/debug.h and it seems that for instance wxOnAssert is ...
by Allonii
Fri Sep 16, 2011 11:41 am
Forum: C++ Development
Topic: wxFileSystem locking zip
Replies: 1
Views: 818

Re: wxFileSystem locking zip

Ticket 13480
by Allonii
Sun Sep 11, 2011 1:31 pm
Forum: General Forum Issues
Topic: Search options
Replies: 1
Views: 5124

Search options

Hi! Since the upgrade to this new forum I'm getting really tired of the search results showing message texts when I search for something. Now the old wxWidgets forum did not do this but always showed the topics. Is there a way to tell the search filter to always show topics when I search for somethi...
by Allonii
Sun Sep 11, 2011 1:25 pm
Forum: C++ Development
Topic: wxFileSystem locking zip
Replies: 1
Views: 818

wxFileSystem locking zip

Hello! I'm using wxWidgets' XRC system do load dialogs from a zip file. Since XRC uses wxFileSystem which caches non seekable streams (wxBitmap) it locks the zip file. The zip is locked for the rest of the application session. I want to make changes to that zip (Add/remove/edit resources) but it is ...
by Allonii
Wed Jun 22, 2011 8:45 am
Forum: General Forum Issues
Topic: Forums Upgrade - June 22, 2011
Replies: 17
Views: 13149

Re: Forums Upgrade - June 22, 2011

Thanks for the upgrade. The forum looks modern now.
by Allonii
Sat Mar 12, 2011 12:15 pm
Forum: C++ Development
Topic: wxAuinotebook's frame border
Replies: 2
Views: 883

const_cast<wxAuiManager&>(notebook_->GetAuiManager()).SetArtProvider(new MyDockArt()); Don't do a const cast there is a reason for why wxAuiManager is const. As explained here , The easiest way to do this is to derive from wxAuiNotebook and in the constructor set, //m_mgr is a protected wxAuiManage...
by Allonii
Sat Mar 12, 2011 12:08 pm
Forum: C++ Development
Topic: wxAuiNotebook set border around notebook page only
Replies: 3
Views: 1468

The easiest way to do this is to derive from wxAuiNotebook and in the constructor set, //m_mgr is a protected wxAuiManager managed by wxAuiNotebook m_mgr.GetArtProvider()->SetMetric(wxAUI_DOCKART_PANE_BORDER_SIZE,0); And then just use default borders around your controls in the tabs. Another option ...
by Allonii
Tue Feb 22, 2011 12:53 pm
Forum: C++ Development
Topic: wxMouseEvent and background color of WxListBox
Replies: 3
Views: 1391

The only color options you have if you stick with wxListBox is BackgroundColour and ForegroundColour (background and text). What you can do is use wxListCtrl in report mode, remove the headers and use wxListCtrl::SetItemBackgroundColour when an item is selected. (See the wx example of wxListCtrl for...
by Allonii
Tue Feb 22, 2011 12:07 pm
Forum: C++ Development
Topic: wxMouseEvent and background color of WxListBox
Replies: 3
Views: 1391

when I click on the selected string, for instance s1, the background color of s1 is highlighted Don't quite understand here, isn't the background for the item highlighted by default when you select a item? (On windows it turns blue). when I move my mouse to s1, an information box is displayed at th...