]>
git.saurik.com Git - wxWidgets.git/log
Václav Slavík [Fri, 27 Apr 2007 08:48:56 +0000 (08:48 +0000)]
added copy ctor to wxCStrData to fix crashes when passing to vararg functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45687
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 27 Apr 2007 00:57:14 +0000 (00:57 +0000)]
no changes, just fix a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45686
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 20:32:14 +0000 (20:32 +0000)]
test prevented to update encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45683
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:55:10 +0000 (19:55 +0000)]
final revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45682
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:54:29 +0000 (19:54 +0000)]
some sizing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45681
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:53:32 +0000 (19:53 +0000)]
drag-and-drop highlighting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45680
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:52:15 +0000 (19:52 +0000)]
more param renaming, some sizing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45679
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:51:14 +0000 (19:51 +0000)]
drag-and-drop adding of controls to test window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45678
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:48:12 +0000 (19:48 +0000)]
set labels for new controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45677
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:42:52 +0000 (19:42 +0000)]
specify order of radios in prefs dlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45676
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:33:38 +0000 (19:33 +0000)]
made main toolbar bitmaps 24x24
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45675
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 26 Apr 2007 18:45:16 +0000 (18:45 +0000)]
Only set focus to widget automatically if left down
event was not handled (as per wxMSW).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45674
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 26 Apr 2007 18:42:23 +0000 (18:42 +0000)]
Added IsOfStandardClass() as per wxMSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45673
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 26 Apr 2007 18:40:43 +0000 (18:40 +0000)]
Added Test for wxComboBox::SetValue() to widgets sample.
Make wxGTK not send text change events then.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45672
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 26 Apr 2007 15:46:26 +0000 (15:46 +0000)]
build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45671
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 14:03:29 +0000 (14:03 +0000)]
add Borland Developer Studio and Turbo Explorer info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45670
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 13:38:52 +0000 (13:38 +0000)]
better user info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45669
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 13:28:46 +0000 (13:28 +0000)]
fix dll path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45668
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Apr 2007 13:05:41 +0000 (13:05 +0000)]
added Roscale() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45667
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Apr 2007 12:50:04 +0000 (12:50 +0000)]
added Rotate() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45666
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 12:42:31 +0000 (12:42 +0000)]
add Borland Developer Studio project file (for Turbo Explorer) uses dll build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45665
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 26 Apr 2007 12:00:43 +0000 (12:00 +0000)]
more efficient implementation of ToAscii/FromAscii in UTF8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45664
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 26 Apr 2007 11:40:04 +0000 (11:40 +0000)]
use UTF8-encoded char* strings in UTF8 build instead of wchar_t* if the current locale uses UTF8;
fall back to widechar CRT functions in the locale is not UTF8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45663
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 11:11:28 +0000 (11:11 +0000)]
remove warnings of intentionally unreachable code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45662
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 10:54:15 +0000 (10:54 +0000)]
removd as recommended in http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/85790/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45661
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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