Does the same sound file play correctly when loaded at runtime?
I don't think many people have ever used this function, you probably have to file a bug report if it doesn't work properly. There are not many things you can do wrong.
Search found 19089 matches
- Tue Jan 03, 2012 1:25 pm
- Forum: C++ Development
- Topic: Loading WAV from Char Array or Resource
- Replies: 7
- Views: 2634
- Tue Jan 03, 2012 1:24 pm
- Forum: C++ Development
- Topic: App Won't Shut Down After Constructing wxJoystick
- Replies: 3
- Views: 1457
Re: App Won't Shut Down After Constructing wxJoystick
That code doesn't make much sense to me, you probably wanted to return "js" here:
But even then, i don't think it's a good idea. Returning a reference or creating the instance on the heap seems better to me.
Code: Select all
wxJoystick MainWindow::GetJoysticks()
{
return js();
}
- Mon Jan 02, 2012 5:05 pm
- Forum: C++ Development
- Topic: wxwidgetize a console app
- Replies: 7
- Views: 2272
Re: wxwidgetize a console app
Yes, sorry that was a typo. I meant 3rd party library.
If you have no control over that library, you must match the CRT settings for wxWidgets and your project to that of this library.
If you have no control over that library, you must match the CRT settings for wxWidgets and your project to that of this library.
- Mon Jan 02, 2012 4:48 pm
- Forum: C++ Development
- Topic: wxwidgetize a console app
- Replies: 7
- Views: 2272
Re: wxwidgetize a console app
Still looks to me like a mix of different CRT configurations between the wxWidgets libs and your project.
Or are you maybe linking any other 3rd time libraries too?
Or are you maybe linking any other 3rd time libraries too?
- Mon Jan 02, 2012 4:28 pm
- Forum: C++ Development
- Topic: wxwidgetize a console app
- Replies: 7
- Views: 2272
Re: wxwidgetize a console app
First of all: Can you build the "minimal" sample from wxWidgets? tried changing run time library for multi threaded debug to multi threaded debug DLL In general, it's important that you use the same settings for your project that were used when building wxWidgets. Did you add all needed wx...
- Mon Jan 02, 2012 12:03 pm
- Forum: C++ Development
- Topic: have context menu, need control id
- Replies: 3
- Views: 1519
Re: have context menu, need control id
If i understand you correctly, you want a pointer to the underlying button?
There are these methods in wxMenu:
There are these methods in wxMenu:
Code: Select all
wxWindow * GetInvokingWindow () const
wxWindow * GetWindow () const
- Mon Jan 02, 2012 11:46 am
- Forum: C++ Development
- Topic: KeyEvent
- Replies: 8
- Views: 2817
Re: KeyEvent
Are you using the Unicode version of wxWidgets?
- Mon Jan 02, 2012 11:45 am
- Forum: C++ Development
- Topic: Transparent Images and Events
- Replies: 6
- Views: 3428
Re: Transparent Images and Events
Each image's wxPanel is a child of the last one to avoid overlapping siblings. Well, technically that's true, but children are supposed to be inside their parent's rectangle. I don't think it's a good idea that MyImage still derives from wxPanel, it will always flicker this way. wxBufferedPaintDC c...
- Mon Jan 02, 2012 2:09 am
- Forum: C++ Development
- Topic: Drawing a rectangle inside custom dialog box
- Replies: 3
- Views: 1392
Re: Drawing a rectangle inside custom dialog box
Also, take a look at wxColourPickerCtrl
http://docs.wxwidgets.org/stable/wx_wxc ... rctrl.html
http://docs.wxwidgets.org/stable/wx_wxc ... rctrl.html
- Mon Jan 02, 2012 2:07 am
- Forum: C++ Development
- Topic: KeyEvent
- Replies: 8
- Views: 2817
Re: KeyEvent
Which platform, wxWidgets version?
I just tested the "keyboard" sample from wx 2.9.3 under Windows and it seems to work with Russian keyboard layout.
I just tested the "keyboard" sample from wx 2.9.3 under Windows and it seems to work with Russian keyboard layout.
- Sun Jan 01, 2012 12:32 pm
- Forum: wxDev-C++
- Topic: wxHtmlWindow LoadPage
- Replies: 1
- Views: 1739
Re: wxHtmlWindow LoadPage
Did you call this anywhere in your code?
Code: Select all
wxFileSystem::AddHandler(new wxZipFSHandler);
- Fri Dec 30, 2011 9:05 pm
- Forum: Platform Related Issues
- Topic: Improved wxDirDialog for Windows Vista and newer
- Replies: 4
- Views: 3938
Re: Improved wxDirDialog for Windows Vista and newer
I'm almost certain that Vadim will integrate it differently, but that's normal.
He'll just be happy that anyone contributed anything, take the parts he can use and do the rest himself
He'll just be happy that anyone contributed anything, take the parts he can use and do the rest himself
- Fri Dec 30, 2011 7:27 pm
- Forum: Platform Related Issues
- Topic: Improved wxDirDialog for Windows Vista and newer
- Replies: 4
- Views: 3938
Re: Improved wxDirDialog for Windows Vista and newer
Thanks, but this is just a user-forum.
I think you should post this directly as comment to the trac entry or to the wx-dev mailing list.
I think you should post this directly as comment to the trac entry or to the wx-dev mailing list.
- Fri Dec 30, 2011 4:58 pm
- Forum: C++ Development
- Topic: wxMediaCtrl play an Audiofile
- Replies: 1
- Views: 2064
Re: wxMediaCtrl play an Audiofile
If you just want to play a sound file without any more control over it, wxSound is easier to use: http://docs.wxwidgets.org/stable/wx_wxsound.html When using wxMediaCtrl, the file may not be ready to play right away, so you have to catch the EVT_MEDIA_LOADED and start the file from that event handle...
- Fri Dec 30, 2011 12:49 pm
- Forum: C++ Development
- Topic: Buttons changing position
- Replies: 3
- Views: 1284
Re: Buttons changing position
Do the buttons also snap into their correct position if you resize the frame manually? Without seeing code it's hard to tell what's wrong. I usually use code like this: mainFrame::mainFrame(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size) :w...