]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agoMingw compilation fix
Václav Slavík [Mon, 13 Aug 2007 14:43:44 +0000 (14:43 +0000)] 
Mingw compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdd accelerator back to label in GetItemLabel
Julian Smart [Mon, 13 Aug 2007 14:43:39 +0000 (14:43 +0000)] 
Add accelerator back to label in GetItemLabel

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoRemoved a misleading comment
Julian Smart [Mon, 13 Aug 2007 14:02:25 +0000 (14:02 +0000)] 
Removed a misleading comment

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdded XRC handler for wxPropertySheetDialog (Sander Berents)
Julian Smart [Mon, 13 Aug 2007 12:04:31 +0000 (12:04 +0000)] 
Added XRC handler for wxPropertySheetDialog (Sander Berents)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoTypo fix
Julian Smart [Mon, 13 Aug 2007 10:26:10 +0000 (10:26 +0000)] 
Typo fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoPreserve original menu label for later retrieval
Julian Smart [Sat, 11 Aug 2007 22:09:20 +0000 (22:09 +0000)] 
Preserve original menu label for later retrieval

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofixed wxStringTokenizer to correctly handle wxTOKEN_RET_DELIMS after the recent chang...
Václav Slavík [Sat, 11 Aug 2007 19:17:14 +0000 (19:17 +0000)] 
fixed wxStringTokenizer to correctly handle wxTOKEN_RET_DELIMS after the recent change to use iterators

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoMenu fix
Julian Smart [Sat, 11 Aug 2007 19:07:41 +0000 (19:07 +0000)] 
Menu fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoCompile fixes
Julian Smart [Sat, 11 Aug 2007 18:39:49 +0000 (18:39 +0000)] 
Compile fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoSmall fix
Julian Smart [Sat, 11 Aug 2007 18:02:36 +0000 (18:02 +0000)] 
Small fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoMenu label consistency changes
Julian Smart [Sat, 11 Aug 2007 17:54:59 +0000 (17:54 +0000)] 
Menu label consistency changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadded missing export declarations for wxGTK internal functions needed outside of...
Václav Slavík [Sat, 11 Aug 2007 12:18:34 +0000 (12:18 +0000)] 
added missing export declarations for wxGTK internal functions needed outside of wxCore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadded missing export declarations for wxGTK internal functions needed outside of...
Václav Slavík [Sat, 11 Aug 2007 12:03:37 +0000 (12:03 +0000)] 
added missing export declarations for wxGTK internal functions needed outside of wxCore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agouse WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT in forward declaration
Vadim Zeitlin [Sat, 11 Aug 2007 11:46:29 +0000 (11:46 +0000)] 
use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT in forward declaration

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoUse wxLogStdErr in preference to wxLogGui on wxCocoa.
David Elliott [Sat, 11 Aug 2007 01:28:42 +0000 (01:28 +0000)] 
Use wxLogStdErr in preference to wxLogGui on wxCocoa.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoDon't needlessly indirect through NSNotificationCenter.
David Elliott [Fri, 10 Aug 2007 20:28:07 +0000 (20:28 +0000)] 
Don't needlessly indirect through NSNotificationCenter.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoUse SetNSSlider instead of SetNSView so that the WXNSSlider (Objective-C) gets associ...
David Elliott [Fri, 10 Aug 2007 20:14:07 +0000 (20:14 +0000)] 
Use SetNSSlider instead of SetNSView so that the WXNSSlider (Objective-C) gets associated with the wxCocoaNSSlider (C++) via the hash map and events actually work.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoFix up NSSlider code to not use class posing and instantiate the proper type (now...
David Elliott [Fri, 10 Aug 2007 20:12:06 +0000 (20:12 +0000)] 
Fix up NSSlider code to not use class posing and instantiate the proper type (now WXNSSlider) from slider.mm.
Copyright 2007 Software 2000 Ltd.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoReturn something halfway reasonable from GetCharWidth/GetCharHeight because the gener...
David Elliott [Fri, 10 Aug 2007 20:03:05 +0000 (20:03 +0000)] 
Return something halfway reasonable from GetCharWidth/GetCharHeight because the generic log dialog divides by GetCharWidth which doesn't work so well when it's zero.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoSet the svn:keywords property to Id on the new files.
David Elliott [Fri, 10 Aug 2007 19:28:36 +0000 (19:28 +0000)] 
Set the svn:keywords property to Id on the new files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAttempt to fix RCS-ID tags so svn will fill them in.
David Elliott [Fri, 10 Aug 2007 19:26:10 +0000 (19:26 +0000)] 
Attempt to fix RCS-ID tags so svn will fill them in.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoMajor wxCocoa wxSlider overhaul from Mark Oxenham.
David Elliott [Fri, 10 Aug 2007 19:25:08 +0000 (19:25 +0000)] 
Major wxCocoa wxSlider overhaul from Mark Oxenham.
Copyright 2007 Software 2000 Ltd.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoTell NSTextField to send us its action message and respond to it so we can generate...
David Elliott [Fri, 10 Aug 2007 18:40:56 +0000 (18:40 +0000)] 
Tell NSTextField to send us its action message and respond to it so we can generate wxEVT_COMMAND_TEXT_ENTER.
Copyright 2007 Software 2000 Ltd.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoTypo correction
Julian Smart [Fri, 10 Aug 2007 11:48:14 +0000 (11:48 +0000)] 
Typo correction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoDon't access null tip_window pointer [ 1767485 ] wxGtk uses private API, breaks with...
Julian Smart [Fri, 10 Aug 2007 11:05:20 +0000 (11:05 +0000)] 
Don't access null tip_window pointer [ 1767485 ] wxGtk uses private API, breaks with gtk 2.11.6

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoFix wxScrollBar initial size to match the limited sizes that Cocoa allows.
David Elliott [Fri, 10 Aug 2007 05:04:39 +0000 (05:04 +0000)] 
Fix wxScrollBar initial size to match the limited sizes that Cocoa allows.
Author: Mark Oxenham
Copyright 2007 Software 2000 Ltd.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoImplement transformation between the wxDisplay coordinate system and the Cocoa screen...
David Elliott [Fri, 10 Aug 2007 04:40:33 +0000 (04:40 +0000)] 
Implement transformation between the wxDisplay coordinate system and the Cocoa screen coordinate system.
Use this to fix TLW initial positioning/sizing (including wxTopLevelWindow, wxFrame, and wxDialog)
Use this to implement wxWindow::DoScreenToClient and DoClientToScreen
Copyright 2007 Software 2000 Ltd.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoRemove virtual from the newly added Create methods.
David Elliott [Thu, 9 Aug 2007 19:07:07 +0000 (19:07 +0000)] 
Remove virtual from the newly added Create methods.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdd wxBitmap constructors and Create methods to allow creating a wxBitmap from an...
David Elliott [Thu, 9 Aug 2007 19:05:51 +0000 (19:05 +0000)] 
Add wxBitmap constructors and Create methods to allow creating a wxBitmap from an NSBitmapImageRep or NSImage instance.
Copyright 2007 Software 2000 Ltd.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdd Objective-C uniquifying to WXNSWindow and WXNSPanel
David Elliott [Thu, 9 Aug 2007 18:15:50 +0000 (18:15 +0000)] 
Add Objective-C uniquifying to WXNSWindow and WXNSPanel
Copyright 2007 Software 2000 Ltd.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoImplement wxBU_LEFT/wxBU_RIGHT styles.
David Elliott [Thu, 9 Aug 2007 17:30:51 +0000 (17:30 +0000)] 
Implement wxBU_LEFT/wxBU_RIGHT styles.
Copyright 2007 Software 2000 Ltd.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoImplement wxStaticBitmap.
David Elliott [Thu, 9 Aug 2007 16:53:32 +0000 (16:53 +0000)] 
Implement wxStaticBitmap.
Copyright 2007 Software 2000 Ltd.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoGave toolbars some extra height, Without which DoGetBestSize can report a size that's
Julian Smart [Thu, 9 Aug 2007 15:08:50 +0000 (15:08 +0000)] 
Gave toolbars some extra height, Without which DoGetBestSize can report a size that's
smaller than the actual window, causing windows to overlap slightly
in some circumstances, leading to missing borders. Removed a hack in AUI to
adjust for wrongly reported size.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoToolbars shouldn't have themed borders
Julian Smart [Thu, 9 Aug 2007 15:05:56 +0000 (15:05 +0000)] 
Toolbars shouldn't have themed borders
Made it easier to switch off theme borders in wxWindow if necessary

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoremove extra space which confuses some servers (at least wu-ftpd 2.6.2) from interpre...
Vadim Zeitlin [Wed, 8 Aug 2007 23:34:14 +0000 (23:34 +0000)] 
remove extra space which confuses some servers (at least wu-ftpd 2.6.2) from interpreting the PORT command correctly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofixed visiblity attribute warnings in STL build
Václav Slavík [Wed, 8 Aug 2007 21:55:22 +0000 (21:55 +0000)] 
fixed visiblity attribute warnings in STL build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoVC6_WORKAROUND -> WX_LIST_VC6_WORKAROUND to prevent name conflicts
Václav Slavík [Wed, 8 Aug 2007 21:26:32 +0000 (21:26 +0000)] 
VC6_WORKAROUND -> WX_LIST_VC6_WORKAROUND to prevent name conflicts

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoMade wxBORDER_THEME the same as wxBORDER_DEFAULT
Julian Smart [Wed, 8 Aug 2007 12:39:56 +0000 (12:39 +0000)] 
Made wxBORDER_THEME the same as wxBORDER_DEFAULT
Moved wxControl::GetBorderStyle into wxWindowMSW::GetBorderStyle
but added GetBorderStyle to have the same behaviour as before (so e.g.
notebook panels don't get borders)
Improved help window borders

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoCompile fix (VC++ 6 doesn't like wxString::Format with only 1 arg: gives several...
Julian Smart [Wed, 8 Aug 2007 11:53:13 +0000 (11:53 +0000)] 
Compile fix (VC++ 6 doesn't like wxString::Format with only 1 arg: gives several pages of template-related warnings)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoRemoved minifram
Julian Smart [Wed, 8 Aug 2007 11:22:45 +0000 (11:22 +0000)] 
Removed minifram

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoImplement the wxST_NO_AUTORESIZE style for wxStaticText.
David Elliott [Wed, 8 Aug 2007 04:34:15 +0000 (04:34 +0000)] 
Implement the wxST_NO_AUTORESIZE style for wxStaticText.
Copyright 2007 Software 2000 Ltd.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoTranslate the wxALIGN flags to the Cocoa alignment type in wxStaticText::Create
David Elliott [Wed, 8 Aug 2007 04:25:57 +0000 (04:25 +0000)] 
Translate the wxALIGN flags to the Cocoa alignment type in wxStaticText::Create

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoUse static wxControl::GetLabelText in preference to wxStripMenuCodes with the wxStrip...
David Elliott [Wed, 8 Aug 2007 04:05:48 +0000 (04:05 +0000)] 
Use static wxControl::GetLabelText in preference to wxStripMenuCodes with the wxStrip_Mnemonics flag for readability.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoSelect the first choice in the radiobox upon creation for parity with other ports.
David Elliott [Wed, 8 Aug 2007 03:17:36 +0000 (03:17 +0000)] 
Select the first choice in the radiobox upon creation for parity with other ports.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoIn wxNotebook::Create setTabViewType based off of wxNB_TOP/LEFT/RIGHT/BOTTOM flags...
David Elliott [Wed, 8 Aug 2007 03:06:53 +0000 (03:06 +0000)] 
In wxNotebook::Create setTabViewType based off of wxNB_TOP/LEFT/RIGHT/BOTTOM flags if given.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoReturn true in wxSetEnv for unsetenv case.
David Elliott [Wed, 8 Aug 2007 01:37:06 +0000 (01:37 +0000)] 
Return true in wxSetEnv for unsetenv case.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agocorrection to last commit: don't test unsetenv() return value, it's void under Darwin
Vadim Zeitlin [Tue, 7 Aug 2007 22:39:29 +0000 (22:39 +0000)] 
correction to last commit: don't test unsetenv() return value, it's void under Darwin

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agouse unsetenv() instead of setenv(var, NULL) which is invalid
Vadim Zeitlin [Tue, 7 Aug 2007 22:29:07 +0000 (22:29 +0000)] 
use unsetenv() instead of setenv(var, NULL) which is invalid

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoImplement wxRadioButton Get/SetLabel methods.
David Elliott [Tue, 7 Aug 2007 22:26:08 +0000 (22:26 +0000)] 
Implement wxRadioButton Get/SetLabel methods.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agotweak the size and layout of the cancel button a bit so it doesn't get clipped.
Robin Dunn [Tue, 7 Aug 2007 21:44:02 +0000 (21:44 +0000)] 
tweak the size and layout of the cancel button a bit so it doesn't get clipped.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadded first version of wxStyleTextCtrl|Event docs
Francesco Montorsi [Tue, 7 Aug 2007 21:37:54 +0000 (21:37 +0000)] 
added first version of wxStyleTextCtrl|Event docs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agothe Ubuntu visibility bug only happens when building shared libraries on some systems...
Václav Slavík [Tue, 7 Aug 2007 21:13:11 +0000 (21:13 +0000)] 
the Ubuntu visibility bug only happens when building shared libraries on some systems, use -shared when testing for it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agotypo fix
Francesco Montorsi [Tue, 7 Aug 2007 21:00:14 +0000 (21:00 +0000)] 
typo fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodon't include wx/wxprec.h from headers, it's bad style (patch from Tim Stahlhut)
Vadim Zeitlin [Tue, 7 Aug 2007 20:33:48 +0000 (20:33 +0000)] 
don't include wx/wxprec.h from headers, it's bad style (patch from Tim Stahlhut)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoClean up
Julian Smart [Tue, 7 Aug 2007 19:25:45 +0000 (19:25 +0000)] 
Clean up

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdded wxBORDER_THEME, wxWindow::GetDefaultBorderForControl(), wxWindow::CanApplyTheme...
Julian Smart [Tue, 7 Aug 2007 19:22:43 +0000 (19:22 +0000)] 
Added wxBORDER_THEME, wxWindow::GetDefaultBorderForControl(), wxWindow::CanApplyThemeBorder().
wxTextCtrl and wxSearchCtrl now get the correct border on wxMSW, and the wxRichTextCtrl sample
also now demonstrates correct borders.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoCompile fix for VC++ 6
Julian Smart [Tue, 7 Aug 2007 13:55:12 +0000 (13:55 +0000)] 
Compile fix for VC++ 6

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agocompile and warning fixes
Julian Smart [Tue, 7 Aug 2007 13:50:44 +0000 (13:50 +0000)] 
compile and warning fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoput constant in define
Chris Elliott [Tue, 7 Aug 2007 08:56:16 +0000 (08:56 +0000)] 
put constant in define

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoremove tests for Mac Rez and SetFile which are also already done by bakefile; restore...
Vadim Zeitlin [Tue, 7 Aug 2007 01:38:18 +0000 (01:38 +0000)] 
remove tests for Mac Rez and SetFile which are also already done by bakefile; restore assignment to RESCOMP which was removed by last commit but which bakefile doesn't set

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodon't test for things which bakefile already tests for (STRIP, RANLIB, INSTALL, WINDR...
Vadim Zeitlin [Tue, 7 Aug 2007 01:23:34 +0000 (01:23 +0000)] 
don't test for things which bakefile already tests for (STRIP, RANLIB, INSTALL, WINDRES, ...); don't chech for VPATH support in make at all as we don't use it any more

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoWXIMPORT must specify default visibility too, otherwise things like typeinfo may...
Václav Slavík [Mon, 6 Aug 2007 14:53:24 +0000 (14:53 +0000)] 
WXIMPORT must specify default visibility too, otherwise things like typeinfo may break subtly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofixed incorrect DLL export macro for wxJoystick
Václav Slavík [Mon, 6 Aug 2007 14:52:02 +0000 (14:52 +0000)] 
fixed incorrect DLL export macro for wxJoystick

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoConsolidate cocoa view/control/cell label setting into wxControl::CocoaSetLabelForObject.
David Elliott [Mon, 6 Aug 2007 13:47:09 +0000 (13:47 +0000)] 
Consolidate cocoa view/control/cell label setting into wxControl::CocoaSetLabelForObject.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadd wx/univ/tglbtn.h to wxUniv headers
Vadim Zeitlin [Mon, 6 Aug 2007 01:00:58 +0000 (01:00 +0000)] 
add wx/univ/tglbtn.h to wxUniv headers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agouse wxBORDER_NONE instead of wxNO_BORDER
Vadim Zeitlin [Mon, 6 Aug 2007 00:59:06 +0000 (00:59 +0000)] 
use wxBORDER_NONE instead of wxNO_BORDER

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agocorrected sizer code example which wrongly used wxBORDER
Vadim Zeitlin [Mon, 6 Aug 2007 00:58:30 +0000 (00:58 +0000)] 
corrected sizer code example which wrongly used wxBORDER

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadded the static function GetLabelText() to wxStaticText which was mentioned in the...
Francesco Montorsi [Sun, 5 Aug 2007 18:54:22 +0000 (18:54 +0000)] 
added the static function GetLabelText() to wxStaticText which was mentioned in the docs but not implemented; also fixed the return type documented for wxControl::GetLabel*() functions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoUpdated border style names
Julian Smart [Sun, 5 Aug 2007 10:10:37 +0000 (10:10 +0000)] 
Updated border style names

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agomake wxTmemchr() return (and take) char* instead of void* in ANSI build too
Vadim Zeitlin [Sat, 4 Aug 2007 21:33:42 +0000 (21:33 +0000)] 
make wxTmemchr() return (and take) char* instead of void* in ANSI build too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadded FromAscii(unsigned char *) overloads
Vadim Zeitlin [Sat, 4 Aug 2007 18:40:45 +0000 (18:40 +0000)] 
added FromAscii(unsigned char *) overloads

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agomore wxUSE_XXX documented (patch from Tim Stahlhut)
Vadim Zeitlin [Fri, 3 Aug 2007 20:00:32 +0000 (20:00 +0000)] 
more wxUSE_XXX documented (patch from Tim Stahlhut)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agosorting support for generic version (patch 1765087 from Bo)
Vadim Zeitlin [Fri, 3 Aug 2007 11:47:42 +0000 (11:47 +0000)] 
sorting support for generic version (patch 1765087 from Bo)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdded Get/SetParentWindow to allow the same easy printing object to be used even
Julian Smart [Fri, 3 Aug 2007 08:50:18 +0000 (08:50 +0000)] 
Added Get/SetParentWindow to allow the same easy printing object to be used even
if the original parent frame was deleted

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agotypo fix
Francesco Montorsi [Wed, 1 Aug 2007 18:54:21 +0000 (18:54 +0000)] 
typo fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdded EVT_MOVE_START, EVT_MOVE_END (wxMSW only for now)
Julian Smart [Wed, 1 Aug 2007 15:34:48 +0000 (15:34 +0000)] 
Added EVT_MOVE_START, EVT_MOVE_END (wxMSW only for now)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoError and warning corrections
Julian Smart [Wed, 1 Aug 2007 15:32:51 +0000 (15:32 +0000)] 
Error and warning corrections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoVC++ 6 reports ambiguities when using template Read/Write, so
Julian Smart [Wed, 1 Aug 2007 15:30:16 +0000 (15:30 +0000)] 
VC++ 6 reports ambiguities when using template Read/Write, so
don't use them in this case

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofixed linking with visibility enable on Ubuntu and some other systems (any gcc 4...
Václav Slavík [Wed, 1 Aug 2007 14:43:14 +0000 (14:43 +0000)] 
fixed linking with visibility enable on Ubuntu and some other systems (any gcc 4.2 amd64?) by removing superfluous virtual wxColour::Ok() (already in wxColourBase)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoMerged 47839 from 2.8 branch:
David Elliott [Wed, 1 Aug 2007 04:31:28 +0000 (04:31 +0000)] 
Merged 47839 from 2.8 branch:
Add missing wxT.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoMake masks and alpha work for wxCOPY when blitting a selected bitmap from a
David Elliott [Wed, 1 Aug 2007 04:14:12 +0000 (04:14 +0000)] 
Make masks and alpha work for wxCOPY when blitting a selected bitmap from a
wxMemoryDC with an eye towards possibly doing more in the future.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agocorrected library link
Vadim Zeitlin [Wed, 1 Aug 2007 00:25:32 +0000 (00:25 +0000)] 
corrected library link

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadded WXDLLEXPORT to the (empty) wxControlWithItems class declaration
Vadim Zeitlin [Tue, 31 Jul 2007 22:03:08 +0000 (22:03 +0000)] 
added WXDLLEXPORT to the (empty) wxControlWithItems class declaration

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodon't crash in wxGetEmptyString(): it's now a #define for wxString(), which is not...
Václav Slavík [Mon, 30 Jul 2007 10:51:35 +0000 (10:51 +0000)] 
don't crash in wxGetEmptyString(): it's now a #define for wxString(), which is not any less efficient now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoremoved png and propsize samples from SAMPLES_SUBDIRS too (patch 1763216)
Vadim Zeitlin [Sun, 29 Jul 2007 19:08:51 +0000 (19:08 +0000)] 
removed png and propsize samples from SAMPLES_SUBDIRS too (patch 1763216)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoforcefully disable wxUSE_JOYSTICK too
Vadim Zeitlin [Sun, 29 Jul 2007 14:27:49 +0000 (14:27 +0000)] 
forcefully disable wxUSE_JOYSTICK too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoalways define HDS_HOTTRACK if it's not defined, not only for DMC (fixes WinCE compila...
Vadim Zeitlin [Sun, 29 Jul 2007 14:25:12 +0000 (14:25 +0000)] 
always define HDS_HOTTRACK if it's not defined, not only for DMC (fixes WinCE compilation of the code using it)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agocompilation fix for WinCE
Vadim Zeitlin [Sun, 29 Jul 2007 14:21:30 +0000 (14:21 +0000)] 
compilation fix for WinCE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoCE compilation fix for X button stuff
Vadim Zeitlin [Sun, 29 Jul 2007 14:08:59 +0000 (14:08 +0000)] 
CE compilation fix for X button stuff

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agocompilation fix for wxUSE_DBGHELP==0 after latest changes
Vadim Zeitlin [Sun, 29 Jul 2007 14:06:23 +0000 (14:06 +0000)] 
compilation fix for wxUSE_DBGHELP==0 after latest changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agowe must use TB_BUTTONSTRUCTSIZE before adding menu items to the toolbar; also send...
Vadim Zeitlin [Sun, 29 Jul 2007 13:56:05 +0000 (13:56 +0000)] 
we must use TB_BUTTONSTRUCTSIZE before adding menu items to the toolbar; also send SHCMBM_GETMENU after creating the menus, otherwise it always returns NULL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoupdate button style to include BS_MULTILINE when a multiline label is set
Vadim Zeitlin [Sun, 29 Jul 2007 13:38:34 +0000 (13:38 +0000)] 
update button style to include BS_MULTILINE when a multiline label is set

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agono changes, just removed unnecessary #ifdef __WIN32__
Vadim Zeitlin [Sun, 29 Jul 2007 13:16:32 +0000 (13:16 +0000)] 
no changes, just removed unnecessary #ifdef __WIN32__

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoUse the ECHO_N and ECHO_C variables in lieu of echo -n since some shells need it.
David Elliott [Sun, 29 Jul 2007 03:36:22 +0000 (03:36 +0000)] 
Use the ECHO_N and ECHO_C variables in lieu of echo -n since some shells need it.
Use cat /dev/null instead of echo -n in the non-Mac (but on OS X) POSTLINK_COMMAND and RESCOMP variables.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agomake the text in the top area more readable
Vadim Zeitlin [Sun, 29 Jul 2007 01:25:40 +0000 (01:25 +0000)] 
make the text in the top area more readable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodon't use deprecated DoLog() overload
Vadim Zeitlin [Sun, 29 Jul 2007 01:23:38 +0000 (01:23 +0000)] 
don't use deprecated DoLog() overload

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoremoved the script which only worked with cvs
Vadim Zeitlin [Sun, 29 Jul 2007 01:20:00 +0000 (01:20 +0000)] 
removed the script which only worked with cvs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadd support for 4th and 5th mouse buttons; reduce code duplication
Vadim Zeitlin [Sun, 29 Jul 2007 01:11:20 +0000 (01:11 +0000)] 
add support for 4th and 5th mouse buttons; reduce code duplication

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadded support for 2 extra mouse buttons (patch 1757630)
Vadim Zeitlin [Sun, 29 Jul 2007 01:04:33 +0000 (01:04 +0000)] 
added support for 2 extra mouse buttons (patch 1757630)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoundid accidental commit of this file in the last revision
Vadim Zeitlin [Sun, 29 Jul 2007 00:31:51 +0000 (00:31 +0000)] 
undid accidental commit of this file in the last revision

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775