Chris Elliott
17aa8c0476
fix dll path
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 13:28:46 +00:00
Vadim Zeitlin
05a8831af2
added Roscale() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 13:05:41 +00:00
Vadim Zeitlin
1d8acb7d4d
added Rotate() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 12:50:04 +00:00
Chris Elliott
1b54a5d2cc
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
2007-04-26 12:42:31 +00:00
Václav Slavík
c1eada835a
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
2007-04-26 12:00:43 +00:00
Václav Slavík
2523e9b700
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
2007-04-26 11:40:04 +00:00
Chris Elliott
210bb741b9
remove warnings of intentionally unreachable code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 11:11:28 +00:00
Chris Elliott
d59c756578
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
2007-04-26 10:54:15 +00:00
Chris Elliott
1c6c52fdef
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
2007-04-26 10:50:54 +00:00
Paul Cornett
82008f15b7
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
2007-04-26 05:22:09 +00:00
Paul Cornett
aa34396cb2
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
2007-04-26 02:52:03 +00:00
Vadim Zeitlin
75a788ee92
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
2007-04-26 02:22:00 +00:00
Vadim Zeitlin
248d0a8970
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
2007-04-26 02:15:24 +00:00
Vadim Zeitlin
4ff9366dc1
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
2007-04-26 02:13:08 +00:00
Vadim Zeitlin
90576c50fc
allow to test changing combobox selection too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:10:36 +00:00
Vadim Zeitlin
46bd197877
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
2007-04-26 01:26:46 +00:00
Robin Dunn
96aaaff865
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
2007-04-26 01:04:47 +00:00
Robin Dunn
1b3b96d84c
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
2007-04-26 00:15:42 +00:00
Vadim Zeitlin
0518029cec
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
2007-04-25 19:21:46 +00:00
Vadim Zeitlin
b044829c47
compilation fix after c_str() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 12:36:28 +00:00
Robert Roebling
235751501d
Added compile guards to wxEditableListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 09:22:02 +00:00
Robert Roebling
23714996e9
Added mini docs for wxChoicebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 08:40:42 +00:00
Robert Roebling
f13a38a5fa
Added mini docs to wxListbook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 08:33:19 +00:00
Robert Roebling
1be9182df8
Typo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 08:20:03 +00:00
Vadim Zeitlin
c94f845b16
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
2007-04-25 01:49:47 +00:00
Vadim Zeitlin
d2b23b6730
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
2007-04-25 01:38:11 +00:00
Robin Dunn
52cd064365
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
2007-04-24 20:25:07 +00:00
Robert Roebling
f7ed8c899f
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
2007-04-24 18:00:14 +00:00
Václav Slavík
c2ac2afd09
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
2007-04-24 16:19:27 +00:00
Václav Slavík
c87a0bc8cb
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
2007-04-24 15:51:51 +00:00
Václav Slavík
baf3d1dc0a
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
2007-04-24 14:09:51 +00:00
Václav Slavík
9ffb659a29
fixed broken wxCStrData and operator?: check
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 12:35:30 +00:00
Václav Slavík
c7c94fa73e
removed unused APPEND_STR macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 10:59:58 +00:00
Robert Roebling
1a64259d4e
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
2007-04-24 09:44:32 +00:00
Robert Roebling
2fa73716ca
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
2007-04-24 09:36:48 +00:00
Robert Roebling
2d9152d5d6
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
2007-04-24 08:28:29 +00:00
Robert Roebling
3203e334b0
Updated docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 08:13:25 +00:00
Paul Cornett
3c95c71037
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
2007-04-24 03:44:48 +00:00
Robin Dunn
da9714b5c8
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 23:27:13 +00:00
Robin Dunn
a7c987f91e
Tweaks needed to update to current CVS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 23:24:56 +00:00
Vadim Zeitlin
9cc79dd629
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
2007-04-23 22:19:12 +00:00
Vadim Zeitlin
7549148b56
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
2007-04-23 22:08:41 +00:00
Václav Slavík
5becc84185
ANSI build compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 21:52:57 +00:00
Václav Slavík
db2a7aabf9
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
2007-04-23 21:25:26 +00:00
Václav Slavík
cb352236d9
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
2007-04-23 20:42:13 +00:00
Vadim Zeitlin
1e085eeb89
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
2007-04-23 20:17:52 +00:00
Vadim Zeitlin
353a4edc6e
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
2007-04-23 20:14:18 +00:00
Vadim Zeitlin
31fdb8d993
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
2007-04-23 20:09:35 +00:00
Vadim Zeitlin
893f78406d
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
2007-04-23 20:07:26 +00:00
Paul Cornett
afde166737
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
2007-04-23 15:37:21 +00:00