]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agotested and applied http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/85790/
Chris Elliott [Thu, 26 Apr 2007 10:50:54 +0000 (10:50 +0000)] 
tested and applied http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/85790/

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

17 years agoreplace 5 copies of size constraining code with one function
Paul Cornett [Thu, 26 Apr 2007 05:22:09 +0000 (05:22 +0000)] 
replace 5 copies of size constraining code with one function

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

17 years agoreally fix window being repositioned after hiding, then reshowing
Paul Cornett [Thu, 26 Apr 2007 02:52:03 +0000 (02:52 +0000)] 
really fix window being repositioned after hiding, then reshowing

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

17 years agodon't assert in SetSelection(wxNOT_FOUND), just clear text zone contents
Vadim Zeitlin [Thu, 26 Apr 2007 02:22:00 +0000 (02:22 +0000)] 
don't assert in SetSelection(wxNOT_FOUND), just clear text zone contents

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

17 years agomove wxKEY_XXX constants to wx/defs.h from wx/list.h and wx/hash.h to avoid duplicati...
Vadim Zeitlin [Thu, 26 Apr 2007 02:15:24 +0000 (02:15 +0000)] 
move wxKEY_XXX constants to wx/defs.h from wx/list.h and wx/hash.h to avoid duplicating their declarations

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

17 years agodon't assert in SetSelection(wxNOT_FOUND), just clear text zone contents (patch 1707475)
Vadim Zeitlin [Thu, 26 Apr 2007 02:13:08 +0000 (02:13 +0000)] 
don't assert in SetSelection(wxNOT_FOUND), just clear text zone contents (patch 1707475)

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

17 years agoallow to test changing combobox selection too
Vadim Zeitlin [Thu, 26 Apr 2007 02:10:36 +0000 (02:10 +0000)] 
allow to test changing combobox selection too

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

17 years agouse wxCopyRectToRECT() instead of duplicating its code (patch 1707294)
Vadim Zeitlin [Thu, 26 Apr 2007 01:26:46 +0000 (01:26 +0000)] 
use wxCopyRectToRECT() instead of duplicating its code (patch 1707294)

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

17 years agoinvalidate the best size when adding or deleting items
Robin Dunn [Thu, 26 Apr 2007 01:04:47 +0000 (01:04 +0000)] 
invalidate the best size when adding or deleting items

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

17 years agoensure there is a current cell before using it to try and get width/height
Robin Dunn [Thu, 26 Apr 2007 00:15:42 +0000 (00:15 +0000)] 
ensure there is a current cell before using it to try and get width/height

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

17 years agoleave only wxString overloads for of the functions working with string keys; remove...
Vadim Zeitlin [Wed, 25 Apr 2007 19:21:46 +0000 (19:21 +0000)] 
leave only wxString overloads for of the functions working with string keys; remove the old variant of hash table (deprecated since 2.4)

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

17 years agocompilation fix after c_str() changes
Vadim Zeitlin [Wed, 25 Apr 2007 12:36:28 +0000 (12:36 +0000)] 
compilation fix after c_str() changes

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

17 years ago Added compile guards to wxEditableListBox
Robert Roebling [Wed, 25 Apr 2007 09:22:02 +0000 (09:22 +0000)] 
  Added compile guards to wxEditableListBox

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

17 years ago Added mini docs for wxChoicebook
Robert Roebling [Wed, 25 Apr 2007 08:40:42 +0000 (08:40 +0000)] 
  Added mini docs for wxChoicebook

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

17 years ago Added mini docs to wxListbook
Robert Roebling [Wed, 25 Apr 2007 08:33:19 +0000 (08:33 +0000)] 
  Added mini docs to wxListbook

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

17 years ago Typo.
Robert Roebling [Wed, 25 Apr 2007 08:20:03 +0000 (08:20 +0000)] 
  Typo.

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

17 years agochanged wxDC::GetTextExtent() and related methods to take const wxFont pointer, for...
Vadim Zeitlin [Wed, 25 Apr 2007 01:49:47 +0000 (01:49 +0000)] 
changed wxDC::GetTextExtent() and related methods to take const wxFont pointer, for consistency with wxWindow::GetTextExtent() and because it generally doesn't need a non-const font

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

17 years agodon't declare inline function with dllexport declaration, this provokes mingw32 warni...
Vadim Zeitlin [Wed, 25 Apr 2007 01:38:11 +0000 (01:38 +0000)] 
don't declare inline function with dllexport declaration, this provokes mingw32 warnings and is unnecessary anyhow

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

17 years agoUse wx.FileHistory for the recent files menu
Robin Dunn [Tue, 24 Apr 2007 20:25:07 +0000 (20:25 +0000)] 
Use wx.FileHistory for the recent files menu

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

17 years ago Use child's listmodelnotifier's destructor (by overloading
Robert Roebling [Tue, 24 Apr 2007 18:00:14 +0000 (18:00 +0000)] 
  Use child's listmodelnotifier's destructor (by overloading
   it) to get informed about the destruction of the child
   model in a sorted model. Removed Freed() method used for
   that so far.

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

17 years agoremoved wxCStrData::operator bool(), using c_str() return value as bool doesn't make...
Václav Slavík [Tue, 24 Apr 2007 16:19:27 +0000 (16:19 +0000)] 
removed wxCStrData::operator bool(), using c_str() return value as bool doesn't make any sense and any code that stops compiling because of this is almost certainly buggy

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

17 years agocorrected (Do)GetWriteBuf() return types to use more appropriate type (no real differ...
Václav Slavík [Tue, 24 Apr 2007 15:51:51 +0000 (15:51 +0000)] 
corrected (Do)GetWriteBuf() return types to use more appropriate type (no real difference)

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

17 years agoadded test for a crash when passing wxCStrData constructed from a literal (operator...
Václav Slavík [Tue, 24 Apr 2007 14:09:51 +0000 (14:09 +0000)] 
added test for a crash when passing wxCStrData constructed from a literal (operator?: operand) to a vararg template

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

17 years agofixed broken wxCStrData and operator?: check
Václav Slavík [Tue, 24 Apr 2007 12:35:30 +0000 (12:35 +0000)] 
fixed broken wxCStrData and operator?: check

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

17 years agoremoved unused APPEND_STR macro
Václav Slavík [Tue, 24 Apr 2007 10:59:58 +0000 (10:59 +0000)] 
removed unused APPEND_STR macro

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

17 years ago Correct MVC update region in GTK+ native version
Robert Roebling [Tue, 24 Apr 2007 09:44:32 +0000 (09:44 +0000)] 
  Correct MVC update region in GTK+ native version
   so that it takes horizontal scrolling into account.

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

17 years ago Change SetValue( wxVariant &value ) to
Robert Roebling [Tue, 24 Apr 2007 09:36:48 +0000 (09:36 +0000)] 
   Change SetValue( wxVariant &value ) to
          SetValue( const wxVariant &value )
    (already documented)
   Delete in-place editing control through
    pending list, not in event handler.

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

17 years ago Mention that wxBookCtrlBase derived controls do derive
Robert Roebling [Tue, 24 Apr 2007 08:28:29 +0000 (08:28 +0000)] 
  Mention that wxBookCtrlBase derived controls do derive
    from that common class and link it to the wxBookCtrl
    overview.

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

17 years ago Updated docs.
Robert Roebling [Tue, 24 Apr 2007 08:13:25 +0000 (08:13 +0000)] 
  Updated docs.

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

17 years agoFix window being repositioned after hiding, then reshowing.
Paul Cornett [Tue, 24 Apr 2007 03:44:48 +0000 (03:44 +0000)] 
Fix window being repositioned after hiding, then reshowing.
Fix wrong return in Show().

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

17 years agoreSWIGged
Robin Dunn [Mon, 23 Apr 2007 23:27:13 +0000 (23:27 +0000)] 
reSWIGged

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

17 years agoTweaks needed to update to current CVS
Robin Dunn [Mon, 23 Apr 2007 23:24:56 +0000 (23:24 +0000)] 
Tweaks needed to update to current CVS

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

17 years agofix bug introduced in wxFontRefData::SetNativeFontInfo() in 1.89: remember that we...
Vadim Zeitlin [Mon, 23 Apr 2007 22:19:12 +0000 (22:19 +0000)] 
fix bug introduced in wxFontRefData::SetNativeFontInfo() in 1.89: remember that we do have native font info

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

17 years agofix SelectItem() for single selection case which was broken by recent changes
Vadim Zeitlin [Mon, 23 Apr 2007 22:08:41 +0000 (22:08 +0000)] 
fix SelectItem() for single selection case which was broken by recent changes

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

17 years agoANSI build compilation fix
Václav Slavík [Mon, 23 Apr 2007 21:52:57 +0000 (21:52 +0000)] 
ANSI build compilation fix

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

17 years agocompilation fix: setlocale() returns non-const string pointer
Václav Slavík [Mon, 23 Apr 2007 21:25:26 +0000 (21:25 +0000)] 
compilation fix: setlocale() returns non-const string pointer

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

17 years agoadded code for checking if the current locale is UTF-8 at runtime
Václav Slavík [Mon, 23 Apr 2007 20:42:13 +0000 (20:42 +0000)] 
added code for checking if the current locale is UTF-8 at runtime

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

17 years agotiny change to make g++ 3.3 compile the latest version
Vadim Zeitlin [Mon, 23 Apr 2007 20:17:52 +0000 (20:17 +0000)] 
tiny change to make g++ 3.3 compile the latest version

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

17 years agoadded implicit conversion of wxString to const void * for compatibility with the...
Vadim Zeitlin [Mon, 23 Apr 2007 20:14:18 +0000 (20:14 +0000)] 
added implicit conversion of wxString to const void * for compatibility with the code doing things like file.Write(s, len)

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

17 years agouse GetParentForModalDialog() in ShowModal() to ensure we don't select a window being...
Vadim Zeitlin [Mon, 23 Apr 2007 20:09:35 +0000 (20:09 +0000)] 
use GetParentForModalDialog() in ShowModal() to ensure we don't select a window being deleted as parent

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

17 years agotest that the candidate parent window isn't being deleted (this would result in a...
Vadim Zeitlin [Mon, 23 Apr 2007 20:07:26 +0000 (20:07 +0000)] 
test that the candidate parent window isn't being deleted (this would result in a crash later)

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

17 years agorevert move events change, it blocks programmatic move events as well
Paul Cornett [Mon, 23 Apr 2007 15:37:21 +0000 (15:37 +0000)] 
revert move events change, it blocks programmatic move events as well

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

17 years agoremove wxWindow::m_needParent and use GTKNeedsParent() which can be overridden in...
Vadim Zeitlin [Mon, 23 Apr 2007 15:16:06 +0000 (15:16 +0000)] 
remove wxWindow::m_needParent and use GTKNeedsParent() which can be overridden in just wxMenuBar (and not set in each and every wxGTK control)

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

17 years ago Typo in docs [ 1693034 ] 2.8.3: wrong docs for wxCHECK_W32API_VERSION
Robert Roebling [Mon, 23 Apr 2007 09:28:08 +0000 (09:28 +0000)] 
  Typo in docs [ 1693034 ] 2.8.3: wrong docs for wxCHECK_W32API_VERSION

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

17 years agodon't send move events for size changes
Paul Cornett [Mon, 23 Apr 2007 04:44:51 +0000 (04:44 +0000)] 
don't send move events for size changes

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

17 years agofix return type for "map_event" and "unmap_event" handlers
Paul Cornett [Mon, 23 Apr 2007 04:33:47 +0000 (04:33 +0000)] 
fix return type for "map_event" and "unmap_event" handlers

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

17 years agoreally ensure that the window being centered is fully visible (fixes bug reported...
Vadim Zeitlin [Sun, 22 Apr 2007 23:07:28 +0000 (23:07 +0000)] 
really ensure that the window being centered is fully visible (fixes bug reported in patch 1683239); also place it on the same display as its parent, if any

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

17 years agocompilation fixes for PCH-less build
Vadim Zeitlin [Sun, 22 Apr 2007 22:20:57 +0000 (22:20 +0000)] 
compilation fixes for PCH-less build

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

17 years agoadded wxStdDialogButtonSizer test (patch 1705382)
Vadim Zeitlin [Sun, 22 Apr 2007 21:25:24 +0000 (21:25 +0000)] 
added wxStdDialogButtonSizer test (patch 1705382)

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

17 years agodetect if there was an error in standard GTK+ options processing and exit in such...
Vadim Zeitlin [Sun, 22 Apr 2007 21:19:53 +0000 (21:19 +0000)] 
detect if there was an error in standard GTK+ options processing and exit in such case

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

17 years agoupdate wxApp::argc/argv to remove the options parsed by GTK+ itself from them
Vadim Zeitlin [Sun, 22 Apr 2007 21:17:49 +0000 (21:17 +0000)] 
update wxApp::argc/argv to remove the options parsed by GTK+ itself from them

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

17 years agoadded wxAppTraits::GetStandardCmdLineOptions() allowing to add the description of...
Vadim Zeitlin [Sun, 22 Apr 2007 20:54:07 +0000 (20:54 +0000)] 
added wxAppTraits::GetStandardCmdLineOptions() allowing to add the description of the standard toolkit options to the usage message and implement it for wxGTK2 (patch 1703077)

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

17 years agoadded wxDialog::GetParentForModalDialog() and use it to try to always create modal...
Vadim Zeitlin [Sun, 22 Apr 2007 20:34:41 +0000 (20:34 +0000)] 
added wxDialog::GetParentForModalDialog() and use it to try to always create modal dialogs with a parent (slightly modified patch 1702962)

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

17 years agoadded HasExtraStyle()
Vadim Zeitlin [Sun, 22 Apr 2007 20:30:39 +0000 (20:30 +0000)] 
added HasExtraStyle()

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

17 years agodon't pass unneeded arguments to AdustForGrowables()
Vadim Zeitlin [Sun, 22 Apr 2007 20:27:36 +0000 (20:27 +0000)] 
don't pass unneeded arguments to AdustForGrowables()

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

17 years agoadd m_ prefix to the member variables and remove unneeded dialogParent field (part...
Vadim Zeitlin [Sun, 22 Apr 2007 20:20:51 +0000 (20:20 +0000)] 
add m_ prefix to the member variables and remove unneeded dialogParent field (part of patch 1702962)

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

17 years agodon't leave pixels due to rounding errors in wxBoxSizer, allocate the extra pixels...
Vadim Zeitlin [Sun, 22 Apr 2007 19:32:38 +0000 (19:32 +0000)] 
don't leave pixels due to rounding errors in wxBoxSizer, allocate the extra pixels to the last item(s) instead, as wxFlexGridSizer (now) does

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

17 years agoMany changes/fixes to wxFlexGridSizer implementation (no API changes):
Vadim Zeitlin [Sun, 22 Apr 2007 19:20:14 +0000 (19:20 +0000)] 
Many changes/fixes to wxFlexGridSizer implementation (no API changes):
- fix the problems addressed by the patch 1667343:
 * only distribute extra space between growable items, not all space
 * take hidden items and gaps into account for ALL grow mode layout
 * fix rounding errors by allocating the remaining pixels to the last item(s)
- refactor the code to avoid duplication between row/column cases
- use STL-like wxList methods instead of compatibility ones

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

17 years agoupdated SetFont() documentation: it returns bool, not void (bug 1705330)
Vadim Zeitlin [Sun, 22 Apr 2007 17:47:08 +0000 (17:47 +0000)] 
updated SetFont() documentation: it returns bool, not void (bug 1705330)

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

17 years agofix double to int conversion warning
Paul Cornett [Sun, 22 Apr 2007 17:43:14 +0000 (17:43 +0000)] 
fix double to int conversion warning

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

17 years agodon't leave gaps around hidden columns/rows in wxFlexGridSizer (closes bug 1659872...
Vadim Zeitlin [Sun, 22 Apr 2007 15:14:36 +0000 (15:14 +0000)] 
don't leave gaps around hidden columns/rows in wxFlexGridSizer (closes bug 1659872; part of patch 1667343)

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

17 years agodistribute only the extra, free, space according to the items proportions in wxBoxSiz...
Vadim Zeitlin [Sun, 22 Apr 2007 12:50:01 +0000 (12:50 +0000)] 
distribute only the extra, free, space according to the items proportions in wxBoxSizer and not the entire available space

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

17 years ago(blind) compilation fixes after latest changes
Vadim Zeitlin [Sun, 22 Apr 2007 12:31:08 +0000 (12:31 +0000)] 
(blind) compilation fixes after latest changes

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

17 years agodon't pass 0 time_t to Borland localtime(), it crashes (bug 1704438); also check...
Vadim Zeitlin [Sun, 22 Apr 2007 00:03:16 +0000 (00:03 +0000)] 
don't pass 0 time_t to Borland localtime(), it crashes (bug 1704438); also check for error return from both localtime() and gmtime()

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

17 years agoReturn wx menu items inserted into the Window system menu, similar to what we do...
Kevin Ollivier [Sat, 21 Apr 2007 23:01:28 +0000 (23:01 +0000)] 
Return wx menu items inserted into the Window system menu, similar to what we do for Help and application menus.

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

17 years agoFix bug with m_current causing EVT_LIST_KEY_DOWN events not to fire in virtual mode...
Kevin Ollivier [Sat, 21 Apr 2007 21:44:31 +0000 (21:44 +0000)] 
Fix bug with m_current causing EVT_LIST_KEY_DOWN events not to fire in virtual mode, also added handler for navigation keys and tweaked the virtual code for setting selection.

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

17 years agodon't let def window proc start another drag operation if we just started one ourselv...
Vadim Zeitlin [Sat, 21 Apr 2007 21:14:59 +0000 (21:14 +0000)] 
don't let def window proc start another drag operation if we just started one ourselves for a multiselection tree (replaces patch 1702133)

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

17 years agoadded support for image resolution options to PNG handler (heavily modified patch...
Vadim Zeitlin [Sat, 21 Apr 2007 19:29:01 +0000 (19:29 +0000)] 
added support for image resolution options to PNG handler (heavily modified patch 1704128)

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

17 years agoallow having children of status bar in XRC (patch 1704125)
Vadim Zeitlin [Sat, 21 Apr 2007 18:57:50 +0000 (18:57 +0000)] 
allow having children of status bar in XRC (patch 1704125)

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

17 years agoreadded wxEditableListBox as part of adv library
Vadim Zeitlin [Sat, 21 Apr 2007 18:50:50 +0000 (18:50 +0000)] 
readded wxEditableListBox as part of adv library

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

17 years agoadded safe check for Pango version and use it to avoid underline hack in wxDC::DrawTe...
Vadim Zeitlin [Sat, 21 Apr 2007 18:32:29 +0000 (18:32 +0000)] 
added safe check for Pango version and use it to avoid underline hack in wxDC::DrawText() (modified patch 1702301)

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

17 years agoadd missing dynarray.h includes (patch 1702312)
Vadim Zeitlin [Sat, 21 Apr 2007 18:13:48 +0000 (18:13 +0000)] 
add missing dynarray.h includes (patch 1702312)

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

17 years agoadded wxStreamBuffer::Truncate() (patch 1687081)
Vadim Zeitlin [Sat, 21 Apr 2007 18:11:37 +0000 (18:11 +0000)] 
added wxStreamBuffer::Truncate() (patch 1687081)

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

17 years agoremove redundant GTK_WIDGET casts
Paul Cornett [Sat, 21 Apr 2007 17:02:29 +0000 (17:02 +0000)] 
remove redundant GTK_WIDGET casts

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

17 years agofix WXDLLIMPEXP_STC definition when building all wx libraries as DLLs (patch 1704527)
Vadim Zeitlin [Sat, 21 Apr 2007 15:13:37 +0000 (15:13 +0000)] 
fix WXDLLIMPEXP_STC definition when building all wx libraries as DLLs (patch 1704527)

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

17 years agofix bug with not updating the last line correctly when a group was deleted and recrea...
Vadim Zeitlin [Sat, 21 Apr 2007 15:04:52 +0000 (15:04 +0000)] 
fix bug with not updating the last line correctly when a group was deleted and recreated (bug 1685312); added a unit test for this

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

17 years agooops, restored wrongly removed semicolon
Vadim Zeitlin [Sat, 21 Apr 2007 14:58:46 +0000 (14:58 +0000)] 
oops, restored wrongly removed semicolon

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

17 years agoremoved extraneous semicolons
Vadim Zeitlin [Sat, 21 Apr 2007 10:52:48 +0000 (10:52 +0000)] 
removed extraneous semicolons

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

17 years agoRemove Objective-C class posing for everything except for NSApplication.
David Elliott [Fri, 20 Apr 2007 22:27:56 +0000 (22:27 +0000)] 
Remove Objective-C class posing for everything except for NSApplication.

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

17 years agoMove Objective-C interfaces into separate header files in preparation for being able...
David Elliott [Fri, 20 Apr 2007 20:21:52 +0000 (20:21 +0000)] 
Move Objective-C interfaces into separate header files in preparation for being able to use them from other source files.
No new or changed code.  Work on behalf of Software 2000 Ltd.

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

17 years agoadd const to avoid hiding warning
Chris Elliott [Fri, 20 Apr 2007 11:03:28 +0000 (11:03 +0000)] 
add const to avoid hiding warning

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

17 years agofixed bug when a fixed pane is resized inside a fixed dock
Benjamin Williams [Fri, 20 Apr 2007 09:03:43 +0000 (09:03 +0000)] 
fixed bug when a fixed pane is resized inside a fixed dock

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

17 years ago Committing in .
Jouk Jansen [Fri, 20 Apr 2007 08:29:15 +0000 (08:29 +0000)] 
 Committing in .

 Update OpenVMS compile support

 Modified Files:
  wxWidgets/src/common/descrip.mms

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

17 years ago Committing in .
Jouk Jansen [Fri, 20 Apr 2007 08:16:48 +0000 (08:16 +0000)] 
 Committing in .

 Modified Files:
  wxWidgets/descrip.mms wxWidgets/setup.h_vms
                 OpenVMS build update
  wxWidgets/include/wx/unix/glx11.h
                 Removed superfluous semi-colon
  wxWidgets/samples/db/dbtest.cpp
  wxWidgets/samples/db/listdb.cpp
                fixed wxString cast problems
 ----------------------------------------------------------------------

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

17 years agoadd const to avoid hiding warning
Chris Elliott [Fri, 20 Apr 2007 08:09:06 +0000 (08:09 +0000)] 
add const to avoid hiding warning

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

17 years agofix unused parameters warnings
Vadim Zeitlin [Fri, 20 Apr 2007 01:40:13 +0000 (01:40 +0000)] 
fix unused parameters warnings

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

17 years agocorrected DLL export declaration of wxTimerEvent to fix VC++ DLL build
Vadim Zeitlin [Fri, 20 Apr 2007 01:39:17 +0000 (01:39 +0000)] 
corrected DLL export declaration of wxTimerEvent to fix VC++ DLL build

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

17 years agopreparation for allowing to use wxTimer in wxBase (heavily modified patch 1113088):
Vadim Zeitlin [Fri, 20 Apr 2007 01:29:16 +0000 (01:29 +0000)] 
preparation for allowing to use wxTimer in wxBase (heavily modified patch 1113088):

1. Changed wxTimer to use wxTimerImpl
2. Added Unix-specific generic timer implementation
3. Added wxAppTraits::CreateTimerImpl()

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

17 years agoremoved extra membersections (patch 1702329)
Vadim Zeitlin [Fri, 20 Apr 2007 01:21:00 +0000 (01:21 +0000)] 
removed extra membersections (patch 1702329)

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

17 years agocreate the spin control with the correct range instead of setting it later which...
Vadim Zeitlin [Fri, 20 Apr 2007 01:16:16 +0000 (01:16 +0000)] 
create the spin control with the correct range instead of setting it later which results in unwanted events and a crash (patch 1702847)

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

17 years agocompilation fix (misplaced comma in OnIdle)
Vadim Zeitlin [Thu, 19 Apr 2007 22:13:21 +0000 (22:13 +0000)] 
compilation fix (misplaced comma in OnIdle)

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

17 years agofixed wxCStrData::operator[] to use wxString::operator[] instead of at()
Václav Slavík [Thu, 19 Apr 2007 18:33:35 +0000 (18:33 +0000)] 
fixed wxCStrData::operator[] to use wxString::operator[] instead of at()

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

17 years agoadded tests for wxCStrData::operator* and operator[]
Václav Slavík [Thu, 19 Apr 2007 18:28:26 +0000 (18:28 +0000)] 
added tests for wxCStrData::operator* and operator[]

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

17 years agoReorganize idle system code.
Paul Cornett [Thu, 19 Apr 2007 16:58:07 +0000 (16:58 +0000)] 
Reorganize idle system code.
Installing idle handler from GTK callbacks is no longer necessary.

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

17 years ago Fix inplace editing of custom controls for
Robert Roebling [Thu, 19 Apr 2007 12:47:47 +0000 (12:47 +0000)] 
  Fix inplace editing of custom controls for
    GTK+ variant of wxDataViewCtrl.

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

17 years agoadded missing forward declaration for wxCStrData
Václav Slavík [Thu, 19 Apr 2007 11:25:34 +0000 (11:25 +0000)] 
added missing forward declaration for wxCStrData

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

17 years agofixed compilation of STL non-UTF8 builds
Václav Slavík [Thu, 19 Apr 2007 10:57:35 +0000 (10:57 +0000)] 
fixed compilation of STL non-UTF8 builds

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

17 years agomoved primitive string and string iterators operations to stringops.h/cpp files to...
Václav Slavík [Thu, 19 Apr 2007 10:05:55 +0000 (10:05 +0000)] 
moved primitive string and string iterators operations to stringops.h/cpp files to make wxString code easier to read

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

17 years agomoved vararg CRT functions wrappers to a new wxcrtvararg.h header
Václav Slavík [Thu, 19 Apr 2007 08:04:34 +0000 (08:04 +0000)] 
moved vararg CRT functions wrappers to a new wxcrtvararg.h header

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

17 years agomoved vararg CRT functions wrappers to a new wxcrtvararg.h header
Václav Slavík [Thu, 19 Apr 2007 07:44:16 +0000 (07:44 +0000)] 
moved vararg CRT functions wrappers to a new wxcrtvararg.h header

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