Search found 205 matches

by Jamie
Fri Mar 03, 2006 12:26 pm
Forum: C++ Development
Topic: Macro differences
Replies: 2
Views: 824

WXDLLEXPORT is for backwards compatibility. It either expands to WXEXPORT, WXIMPORT or nothing depending on if you are making a wx dll, using a wx dll or not using a wx dll respectively. Depending on the compiler/platform combination used, WXEXPORT and WXIMPORT expand to either __declspec(dllexport)...
by Jamie
Fri Mar 03, 2006 12:17 pm
Forum: Platform Related Issues
Topic: My own toolbar usage
Replies: 2
Views: 880

You don't need SetToolBar( GetToolBar() ); as CreateToolBar() will do that for you. I don't see wxToolBar::Add(), where is this coming from? Do you mean AddTool()? Try removing the SetToolBar(GetToolBar()) line and see if that works, otherwise you will need to elaborate on "crashes". I'm c...
by Jamie
Tue Feb 28, 2006 10:36 am
Forum: Open Discussion
Topic: Seeking for short-time testers
Replies: 5
Views: 1744

Sure, no worries. I have numerous XP environments that I use for testing.
by Jamie
Fri Feb 24, 2006 3:22 pm
Forum: C++ Development
Topic: LoadCursor failed
Replies: 2
Views: 1408

Are you including wx.rc in your resources? If not then you need to to be able to get all of the cursors. I suspect it is trying to set a different cursor but it fails to load it from resources as you haven't compiled it in. So while it appears not to cause problems, your program would be missing som...
by Jamie
Sun Feb 19, 2006 5:09 pm
Forum: C++ Development
Topic: Simple problem with wxSizers
Replies: 6
Views: 1839

Try using wxFrame::SendSizeEvent()
by Jamie
Sun Feb 19, 2006 4:48 pm
Forum: C++ Development
Topic: wxDialog & "Non-client mouse events"
Replies: 1
Views: 676

Non-client mouse events are not supported with wxWidgets. The events should be deprecated as they are not sent under Windows. I don't know about other platforms but I'm pretty sure the same applies for GTK+.
by Jamie
Sun Feb 19, 2006 4:37 pm
Forum: Component Writing
Topic: question about wxFileConfig
Replies: 4
Views: 2133

wxFileConfig writes out to file when its destructor is called automatically. If you don't want it to do this, call DeleteAll() in your derived destructor. regManager::~regManager() { DeleteAll(); } Also you don't need a return at the end of constructors, destructors or functions returning void.
by Jamie
Sun Feb 19, 2006 4:25 pm
Forum: Announcements and Discoveries
Topic: Request to Visual Studio users for new wx.dsw testing
Replies: 5
Views: 2108

Thank you all. I will update the installation notes to reflect the changes. I guess no one uses VS6? Understandable :) As for moving this thread, I don't consider it an Announcement or a Discovery but believe it was more appropriate in the original forum I posted it in (Compiler / Linking / IDE Rela...
by Jamie
Mon Feb 13, 2006 11:49 pm
Forum: Component Writing
Topic: Is there xml version of wxFileConfig?
Replies: 4
Views: 1934

See here: http://cvs.sourceforge.net/viewcvs.py/wxstudio/wxIDE/parts/guidelib/include/guide/pmxmlconfig.h?rev=1.8&view=markup http://cvs.sourceforge.net/viewcvs.py/wxstudio/wxIDE/parts/guidelib/src/pmxmlconfig.cpp?rev=1.13&view=markup It would be nice if someone could clean it up (remove the...
by Jamie
Mon Feb 13, 2006 12:01 pm
Forum: Announcements and Discoveries
Topic: Request to Visual Studio users for new wx.dsw testing
Replies: 5
Views: 2108

priyank_bolia wrote:Except for the dbgrid dll, I am able to create all.
Thanks, that's a known problem for now. What Visual Studio version did you use?
by Jamie
Mon Feb 13, 2006 2:53 am
Forum: Announcements and Discoveries
Topic: Request to Visual Studio users for new wx.dsw testing
Replies: 5
Views: 2108

Request to Visual Studio users for new wx.dsw testing

Hi, I've recently updated the workspace file (build/msw/wx.dsw) in CVS HEAD and would like to know if it now successfully builds DLL versions of wx on all Visual Studio versions. I've only got access to Visual Studio .NET 2003 and have tested that but would like to hear from users of other versions ...
by Jamie
Mon Feb 13, 2006 2:13 am
Forum: C++ Development
Topic: wxGetMouseState
Replies: 1
Views: 704

It was added after 2.6.2.

It will be available in 2.6.3, due real soon now.
by Jamie
Sat Feb 11, 2006 9:57 am
Forum: C++ Development
Topic: wxStaticLine referesh problem
Replies: 3
Views: 1304

Do you have the minimal complete code that demonstrates this?
What wx version?
by Jamie
Sat Feb 11, 2006 9:54 am
Forum: C++ Development
Topic: Problem with missing text in Windows XP
Replies: 6
Views: 1514

By sample code I mean the bare minimum amount of complete code that demonstrates the problem. Something I can copy, paste and compile to test. Are you sure the user doesn't have different settings? eg high contrast?
by Jamie
Sat Feb 11, 2006 9:49 am
Forum: C++ Development
Topic: wxWidgets 2.6.0 wxImage bug?
Replies: 4
Views: 2134

You only need to add a handler once. Add this to your App::OnInit() wxImage::AddHandler(new wxGIFHandler); Then change your OnPaint code to this: MyOnPaintFunction(wxPaintEvent& event) { wxImage Image(path, wxBITMAP_TYPE_GIF); wxBitmap Bitmap(Image); BoardDC.DrawBitmap(Bitmap, x, y, true); }