Vadim Zeitlin
7f5b84c22f
compilation fix for --disable-filesystem --enable-xrc build (wxArrayString is needed here and was only included indirectly via wx/filesys.h) (ticket #9537 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 13:47:32 +00:00
Václav Slavík
37146d3352
added wxHtmlWindow::SetRelatedStatusBar(wxStatusBar*) (patch #9235 by troelsk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 09:38:37 +00:00
Václav Slavík
84e455807e
wxDFB: implemented Raise() and Lower() for TLWs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 21:50:06 +00:00
Robert Roebling
92159e3d76
Separate label with wx mnemonics (&) and with gtk mnemonics (_) into m_text and m_gtkText, fixes #4409
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 21:46:29 +00:00
Vadim Zeitlin
42124e683d
define wxHAS_ATOMIC_OPS only if native implementation is available; use fewer loop iterations in the test if it isn't as otherwise the test takes way too long to run
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 20:42:23 +00:00
Robin Dunn
f60ca3e24c
Add a SetDoubleBuffered method for wxMSW (XP+)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:30:13 +00:00
Robert Roebling
ae8eee38f4
Disable disabling wxWeakRef<T>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:07:06 +00:00
Vadim Zeitlin
23f3f8c2ac
correct error in wxHAVE_RAW_BITMAP definition: it shouldn't be defined at all if there is no raw bitmap support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:17:04 +00:00
Vadim Zeitlin
24671bc900
define wxHAS_RAW_BITMAP (instead of inconsistenly named wxHAVE_RAW_BITMAP) and use it to avoid test build error under ports not supporting raw bitmaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 18:42:33 +00:00
Vadim Zeitlin
77fa3d8243
add a special macro for comparing time_t values to fix unit test compilation on platforms with 64 bit time_t (such as FreeBSD 6.2 apparently)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:01:59 +00:00
Vadim Zeitlin
ca8cf4fffb
added wxTextOutputStream::Flush(): this is necessary with the stateful encodings, such as UTF-7
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:09:25 +00:00
Vadim Zeitlin
9d653e810c
rewrote UTF-7 to work on streams of data to be comaptible with the way wxTextStream uses the converters; also converted a couple off by 1 bugs and unit test finally pass now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:08:45 +00:00
Stefan Neis
3656eefc89
Compilation fixes for mingw-w64.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 12:44:40 +00:00
Vadim Zeitlin
2bdba43f02
at least mingw32 3.4.5 needs wxBitmap declaration to compile wxPixelData<wxBitmap> (thanks buildbot)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 20:04:09 +00:00
Vadim Zeitlin
3e50a139b4
fixed wxImagePixelData compilation (ticket #3003 ); added a unit test for it (to be extended to cover more wxImage methods...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 19:30:23 +00:00
Vadim Zeitlin
8aa6162938
blind fix for Borland ANSI build: define wxStructStat specially for this compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 18:59:55 +00:00
Vadim Zeitlin
508b652335
ensure that GetEditControl() returns something even if label editing was started by the user and not the program ( closes #1325 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 00:26:07 +00:00
Vadim Zeitlin
5cd4cb75ee
no changes, just refactor the code to avoid having the same code for m_textCtrl destruction in 4 places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 00:03:03 +00:00
Robert Roebling
13d843f1c1
More work on getting wxLisBox events right
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 23:13:47 +00:00
Stefan Csomor
9f728f8dba
adding lowlevel hook to listbox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 14:11:45 +00:00
Vadim Zeitlin
fe267c2fad
take wxString in wxCrashReport::SetFileName() to allow passing either ASCII or wide strings as well as wxStrings to this method (closes 9505)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 13:28:05 +00:00
Paul Cornett
aac7dbf3aa
remove unused/unneeded menuitem cruft
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 04:41:37 +00:00
Paul Cornett
9a2183c900
remove obsolete file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 04:27:00 +00:00
Paul Cornett
efebabb7ff
mark long-deprecated ctor as such
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 04:26:29 +00:00
Robin Dunn
fa34bc5331
Add wxWebKitNewWindowEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:33:46 +00:00
Vadim Zeitlin
65d990fb21
there is no std::wostream under Palm (part of ticket 4700)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 16:38:12 +00:00
Robert Roebling
e78c1d7855
Native wxBitmapComboBox patch for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 10:17:56 +00:00
Robert Roebling
7a04b64409
Clear columns on destruction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 09:52:26 +00:00
Robert Roebling
1afad0ac74
Reapply wxWeakRef patch again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 09:17:56 +00:00
Robert Roebling
3e040a2981
Use wxWindowRef to hold pointer to default button
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 08:53:48 +00:00
Robert Roebling
1ddb283ad5
Defer SetHorizontalExtent to idle, also fixes (wxListBox::Delete ignores Freeze/Thaw and is verrrrry slow)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 20:54:30 +00:00
Robert Roebling
ea6cbf486a
Dont send spin text update event from SetValue()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 20:24:58 +00:00
Vadim Zeitlin
784ee7d511
improve wxMessageOutputBest console output under Windows (closes 9146)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 23:28:13 +00:00
Robert Roebling
05d790f834
Move event generation code for multiple selection mode to common code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 10:12:50 +00:00
Robert Roebling
794b89c956
Remove deprecated methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 09:48:53 +00:00
Stefan Neis
eccec0f887
Linker fix for non-PM builds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 21:21:36 +00:00
Robert Roebling
1e6ffd6691
Remove m_blockEvents and use Disable/Enable instead, some more rearraging
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 20:53:10 +00:00
Vadim Zeitlin
0662f99096
add back wxChoice::DoGetBestSize() removed by the previous refactoring, it's still needed ( #9150 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:55:59 +00:00
Vadim Zeitlin
154014d681
added wxDateTime::SetFrom/GetAsMSWSysTime() ( #9161 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:49:27 +00:00
Václav Slavík
c1eb8caaa4
fixed compilation with DirectFB 0.9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 09:38:39 +00:00
Robert Roebling
19723525ce
Added InsertColumn( pos, col ), some reformating
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 08:47:21 +00:00
Stefan Csomor
5e5a020c0d
make independent from carbon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:25:25 +00:00
Julian Smart
a2beab222f
COnversion of some common font names to current platform
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:24:53 +00:00
Stefan Csomor
12df0ad59f
allows resetting color of text to black, closes #4826
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:24:46 +00:00
Robert Roebling
3b8b8024a0
Missing header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-19 08:13:45 +00:00
Vadim Zeitlin
a2c9411060
use GtkComboBox instead of deprecated GtkOptionMenu for wxChoice; this also allows to derive wxComboBox from wxChoice in wxGTK as in wxMSW (ticket #9150 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-18 17:26:28 +00:00
Vadim Zeitlin
c574bfa902
(blind) fixes for PCH-less build after r53626
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 23:42:37 +00:00
Vadim Zeitlin
4f2718147f
fix gcc warnings about not calling the base class ctors (replaces patch 1962992)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 23:14:25 +00:00
Vadim Zeitlin
462167a9f7
allow loading wxAnimationCtrl contents from stream (patch 1962344)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 22:51:52 +00:00
Vadim Zeitlin
7bf2b0881a
added language info for Northern Sami (patch 1964036)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 22:49:30 +00:00
Vadim Zeitlin
f696015cf1
native wxBitmapComboBox implementation for MSW (patch 1941399)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 22:43:00 +00:00
Julian Smart
d1e5be0ec6
Fixed common style collection and superscript/subscript selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 17:54:11 +00:00
Václav Slavík
d2f3b08582
wxUniv: implement wxSYS_VSCROLL_X/Y metrics in wxUniv code, they depend on the theme, not lowlovel port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 09:41:25 +00:00
Stefan Neis
a289b10d2c
Fixed wxWindowOS2::Reparent.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 09:40:37 +00:00
Stefan Neis
f212e222e7
Ensure that wxApp::Yield is always processing pending event by creating a
...
temporary event loop if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-16 12:50:26 +00:00
Robert Roebling
344ed1f386
Option for variable line heights (MSW and GTK+ sofar)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-16 12:37:32 +00:00
Paul Cornett
2a23042680
fix some warnings from GCC -Wextra
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-15 17:24:48 +00:00
Robert Roebling
26c66bc6ac
[ 1960295 ] wxWeakRef - Reorganization and comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-15 11:50:35 +00:00
Vadim Zeitlin
e559d790fb
add wxCmdLineParser::AddUsageText() and wxCMD_LINE_USAGE_TEXT (modified patch 1957542)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 00:03:06 +00:00
Vadim Zeitlin
16b627b06a
make GetUsageString() public, this is useful at least for the tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 23:46:24 +00:00
Paul Cornett
3abc756645
prevent crash if panel/kicker is killed, bug 1872724
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 22:45:36 +00:00
Vadim Zeitlin
9c8116f8f7
take const wxConfig object in wxDocManager::FileHistoryLoad() and wxFileHistory::Load() (patch 1942316)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 20:32:35 +00:00
Vadim Zeitlin
bad6549d29
include wx/timer.h for wxUSE_GUI==0 now that timers can be used in console apps too (patch 1939223)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 17:45:52 +00:00
Vadim Zeitlin
2c66581eaa
show resize grip on resizeable dialogs (slightly modified patch 1910654)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 17:12:36 +00:00
Bryan Petty
d29a9a8ac8
Replaced @returns with @return for more standard command use and compatibility.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 01:38:53 +00:00
Paul Cornett
573bd31feb
remove extra semicolons, correct virtual access
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 17:48:44 +00:00
Paul Cornett
f92ef8536a
non-pch build fixes, after r53535
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 17:46:38 +00:00
Francesco Montorsi
7e721c7a4b
give a name to the unnamed enum to make it easier to document it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 09:54:46 +00:00
Francesco Montorsi
d75a69e832
replace use of 'long/int bitmapType' with 'wxBitmapType bitmapType' in richtext and wxMemoryFSHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 09:40:33 +00:00
Václav Slavík
eeb6bb3493
fixed wxMac compilation after ShowWithEffect() changes; also fixed to use correct directions meaning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 21:53:42 +00:00
Vadim Zeitlin
13a3888794
extracted wxWrapSizer in separate files and somewhat improved it (heavily modified patch 1876663)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 22:45:44 +00:00
Václav Slavík
eed04c9999
changed ShowWithEffects() to use directional wxSHOW_EFFECT_XXX flags instead of additional wxDirection argument that doesn't always make sense; this also means the direction is never implicit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 21:56:26 +00:00
Vadim Zeitlin
49dcc246bf
add wxSizer::SetDimension() overload taking wxPoint/wxSize instead of 4 ints
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 18:58:04 +00:00
Vadim Zeitlin
7f0cbaaa4a
correct the signature of the overriden Reparent()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 14:15:07 +00:00
Vadim Zeitlin
3e9db38eaf
don't override DoDrawSpline() under CE at all instead of overriding it and then always forwarding to the base class version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 14:13:15 +00:00
Vadim Zeitlin
7210c3a12c
fix confusion with (Do)DrawSplines() overloads; don't allocate points on the heap unnecessarily when we can just do it on the stack
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 14:12:38 +00:00
Vadim Zeitlin
6bc7b9138d
don't redeclare vsscanf() for Windows compilers, the case of missing declaration for an existing function only arises under old Unix systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 13:57:54 +00:00
Vadim Zeitlin
4f29051b4e
use std::[w]string for wxString implementation unless wxUSE_STD_STRING==0 but even if wxUSE_STL==1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-07 00:46:45 +00:00
Robert Roebling
6dd21c5433
[ 1957970 ] wxWeakRef - assign from other wxWeakRef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-06 21:04:23 +00:00
Václav Slavík
9d646d31c9
removed wxDCWindowImpl::m_win; use wxDCImpl::m_window instead (fixes caret-related crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-06 17:08:49 +00:00
Vadim Zeitlin
f01a77c795
add an assert indicating that old code overriding OnExecute() must be updated with 2.9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-02 22:05:43 +00:00
Robert Roebling
b25c34aae4
Added constructor to wxGCDC from wxPrinterDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-30 09:26:02 +00:00
Chris Elliott
0eb6fce245
add watcom define HAVE_VSSCANF_DECL ( http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/100710 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 16:01:31 +00:00
Julian Smart
1c13f06e4e
Added a wxRichTextCtrl-specific caret implementation in case of need
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 09:10:32 +00:00
Robert Roebling
0b822969a6
Added new wxGraphicsContext:Create( wxPrinterDC ) instead of wxDC:CreateGraphicsContext
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 20:39:57 +00:00
Vadim Zeitlin
c3f941621e
added wxQueueEvent() avoiding the bug of wxPostEvent() with the events having wxString fields
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 18:49:42 +00:00
Vadim Zeitlin
9e50ed28d9
fix wxTextCtrl::operator<<('\n') in Unicode build (should use char overload, not int); corrected mangled documentation of these operators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 12:32:32 +00:00
Julian Smart
7051fa4161
Further wxRichTextCtrl performance improvements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 13:29:53 +00:00
Vadim Zeitlin
4aa59c3df6
no real changes, clarified the usage of WX_GL_DOUBLEBUFFER; documented it and other WX_GL_XXX constants lost during doxygen transition; simplified wxMSW code a bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 12:46:28 +00:00
Robert Roebling
d974a4945c
Made wxCairo graphics code compile again, wxGraphicsBitmap still missing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-25 13:32:23 +00:00
Robert Roebling
2b44ffc0e7
Added wxDC::CreateGraphicsContext and implemented it for a few DCs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-25 11:05:16 +00:00
Julian Smart
4f3d5bc061
Made performance acceptable for editing large paragraphs on low-powered machines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 14:39:33 +00:00
Julian Smart
109bfc88a4
Further optimizations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 11:43:39 +00:00
Václav Slavík
06e9cf134f
added wxString::Clone() and made wxString(wxCStrData) ctor make deep copy too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 07:16:48 +00:00
Paul Cornett
fce611e426
restore caching of WM frame extents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 17:05:47 +00:00
Julian Smart
2f45f5545f
Further performance optimizations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 15:01:33 +00:00
Vadim Zeitlin
106dcc2cea
make wxDir::Has{Files,SubDirs}() const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-22 16:29:43 +00:00
Robert Roebling
c96cc30a5d
Let wxCommandEvent's copy constr copy its string via .c_str() as otherwise ::Clone() isn't thread-safe
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-22 13:14:00 +00:00
Robert Roebling
07cf4247ec
Remove usused variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-22 08:29:01 +00:00
Robert Roebling
e569b49372
[ 1945434 ] Changing method wxComboCtrlBase::DrawButton to virtual one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-21 18:48:03 +00:00
Julian Smart
31778480a9
Speeded up wrapping (again), this time using partial text extents.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-21 15:26:27 +00:00
Václav Slavík
6a603a10e7
preserve TAB characters when copying HTML <pre> content to clipboard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-21 10:46:30 +00:00
Václav Slavík
916989dfb9
implement wxLIST_AUTOSIZE support in wxMac's wxListCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 22:10:23 +00:00
Robert Roebling
d7b20621ef
Fixed wxDatePickerCtrl under OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-19 17:22:23 +00:00
Vadim Zeitlin
e38ce1bcbf
added wxMouseState::GetPosition(), for consistency with wxMouseEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 01:51:04 +00:00
Vadim Zeitlin
6e3515377c
make wxMouseState accessors const; document this class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 01:48:44 +00:00
Robert Roebling
7b0ccb8a60
[ 1936700 ] wxCAL_SHOW_WEEK_NUMBERS, slightly modified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-17 15:31:50 +00:00
Václav Slavík
7e38638c34
removed no longer needed wxOKlibc() helper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-16 22:35:25 +00:00
Václav Slavík
93928d517b
wchar_t is now always required, updated chartype.h check accordingly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-16 22:20:50 +00:00
Vadim Zeitlin
63482fd5e8
add possibility to specify the conversion to use in wxStringOutputStream; use it instead of reimplementing the same logic erroneously in wxHTML (bug 1711476)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-15 12:22:41 +00:00
Václav Slavík
f416695a1b
more wxString:[Aa]ppend() overloads for better compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-14 22:30:07 +00:00
Robin Dunn
8b6c20ce55
Also set wxHAVE_RAW_BITMAP for Mac and GTK2, use it in wxSTC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-14 18:41:06 +00:00
Vadim Zeitlin
c24fd8883f
removed extra wxCalendarCtrl:: which is ignored by MSVC for some reason but breaks compilation with other compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-14 13:11:54 +00:00
Vadim Zeitlin
9ef1ad0d2c
fix crashes due to missing npos handling in several wxString methods in STL build (bug 1941352); add an assert to ensure this bug doesn't occur in the future
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 23:41:15 +00:00
Václav Slavík
1b1c490cc8
Fixed IMPLEMENT_APP() to be compatible with the -WU flag of Borland C++ (patch #1935997 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 12:18:00 +00:00
Vadim Zeitlin
3fb26cf229
allow predefining wxNO_XXX_LIB symbols to avoid implicitly linking with the corresponding library when using msvc/wx/setup.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 02:09:52 +00:00
Robert Roebling
419a360703
Corrected/added support for column headers with icon and text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 20:07:53 +00:00
Vadim Zeitlin
5769cf0f89
fix bugs introduced in wxCmdLineParser::ConvertStringToArgs() during Unicode transition; added a unit test for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 17:03:09 +00:00
Vadim Zeitlin
4ec80a5966
forward declare wxVideoMode as struct, not class, now that it was reverted to be struct again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 15:12:02 +00:00
Vadim Zeitlin
8cd8a7feb7
wxThread::Sleep() is the same as wxMilliSleep() on all platforms but Mac (and maybe it should be the same thing there as well)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 02:28:46 +00:00
Vadim Zeitlin
f9d6e4e454
remove unused wxAppTraits-related files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 02:17:14 +00:00
Vadim Zeitlin
2404ce8d8a
argh, really, really fix Darwin build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 13:01:34 +00:00
Vadim Zeitlin
a0f4d36895
GetSocketManager() has no GUI-specific version under Darwin finally
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 12:59:22 +00:00
Vadim Zeitlin
b2915c82ca
also use AddProcessCallback() and GetSocketManager() under Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 12:51:51 +00:00
Robert Roebling
c232dfe592
Add test for context menu, fixed mem leak, fixed focus problem when re-editing same item
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 10:40:58 +00:00
Václav Slavík
077f75a51d
reverted wxVideoMode API breakage by r53049, finished documentation for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 09:52:04 +00:00
Francesco Montorsi
3e8ec95401
use an enum to make it easier to document the values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 21:59:22 +00:00
Václav Slavík
446779ee32
compilation fix for newest DirectFB versions (patch #1939443 by Anders Larsen)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 17:58:15 +00:00
Julian Smart
30bf763039
Added wxRichTextCtrl superscript and subscript support (Knut Petter Lehre).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 14:05:44 +00:00
Vadim Zeitlin
f05114174f
oops, added missing #endif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 10:45:47 +00:00
Vadim Zeitlin
13d4419b86
only declare AddProcessCallback for wxMotif and wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 10:44:06 +00:00
Julian Smart
0ce52f3d4e
Try standard XDG location for documents directory
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 13:52:39 +00:00
Robert Roebling
e51bf69961
Adapt MSW's renderer's alignment to use column header's alignment by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 11:17:54 +00:00
Robert Roebling
f2b7492a88
By default, align renderers as column header under GTK+, too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 10:39:57 +00:00
Robin Dunn
26c093da54
wxVideoMode is a class not a struct
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 18:53:16 +00:00
Robin Dunn
f139915040
fix typedef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 18:52:31 +00:00
Robert Roebling
e39de7022c
Split wxDataViewVirtualModel fork wxDataViewIndexModel to make the code clearer and let wxDataViewIndexModel behave the same on all platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 09:27:21 +00:00
Vadim Zeitlin
c3a899dd92
correct positioning of the control and removed workarounds for old MSW bugs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 01:06:57 +00:00
Robert Roebling
69fb24ce03
Fix compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 20:31:25 +00:00
Vadim Zeitlin
ddf13afcfe
no changes, just fix typo in variable name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 20:02:52 +00:00
Vadim Zeitlin
87e024f7d5
delay setting the window shape until it is realized (slightly modified patch 1935497)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:14:49 +00:00
Vadim Zeitlin
fa7134b05a
use kind, not id, of a menu item to test whether it's a separator: this allows having separators with ids other than wxID_SEPARATOR in case it's useful to distinguish between them (patch 1929039)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:55:42 +00:00
Vadim Zeitlin
9c2b4cab93
removed (unused) occurrences of _WX_DEFINE_DATE_EVENTS_ (part of patch 1927817)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:41:47 +00:00
Francesco Montorsi
3fedffdc05
give a name to the enumeration of the values which can be passed to OnDrawItem to make it easier to document it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:35:21 +00:00
Francesco Montorsi
e46fcdb43b
documented wxVideoMode (otherwise wxDisplay docs are not very useful)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:34:05 +00:00
Vadim Zeitlin
a7507230d1
corrected inverted test in IsEmpty() (patch 1936052)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:25:41 +00:00
Vadim Zeitlin
0367b92891
document Alloc() vs returning bool (part of bug 1933693)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:50:16 +00:00
Vadim Zeitlin
823aaeb9c4
include the headers needed for its compilation from the header itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:05:57 +00:00
Robert Roebling
0bdfa38835
Support renderer::LeftClick() in generic code, removed unsupported RightClick(), corrected docs, added test to sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 12:09:15 +00:00
Vadim Zeitlin
3ccd1b4987
set focus to the control when it's clicked
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 23:07:55 +00:00
Vadim Zeitlin
8354b47d96
make GenerateEvent() public again to fix wxGTK compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 22:25:43 +00:00
Vadim Zeitlin
db0b0942f8
implemented toggling of wxCAL_MONDAY_FIRST in the native MSW version of wxCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 16:35:43 +00:00
Vadim Zeitlin
82c6027b47
implemented Mark() in the native MSW version of wxCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 16:26:39 +00:00
Vadim Zeitlin
b3ed70208b
generate double click events in the native MSW version of wxCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 15:49:08 +00:00
Vadim Zeitlin
a4fcd589a8
generate the correct events in the native MSW version of wxCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 15:26:37 +00:00
Vadim Zeitlin
ee22a3a2a6
implemented HitTest() in the native MSW version; added test for it to the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 14:58:44 +00:00
Vadim Zeitlin
5131749617
initial native implementation of wxCalendarCtrl for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 04:17:03 +00:00
Robin Dunn
6a079bc1f0
Fix for potential layout glitches in wxGridBagSizer when items span cells but
...
some other item affects the size of one of spanned rows/cols.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 02:50:15 +00:00
Vadim Zeitlin
9fdb68d985
wxMac compilation fix: must explicitly qualify non-dependent MacSetClipChildren() in wxScrolled::Create()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 13:51:30 +00:00
Stefan Neis
a93cf225f7
Added detection of vsscanf and whether or not a prototype exists in headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 12:05:27 +00:00
Vadim Zeitlin
bf956fac0e
move all appearace-related methods down to wxCalendarCtrlBase from wxGenericCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 23:43:34 +00:00
Vadim Zeitlin
09902c517e
wxMimeTypesManagerImpl and wxFileTypeImpl are in base, not core
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 22:48:55 +00:00
Stefan Neis
db3df3c493
Another attempt at fixing Watcom compilation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 22:19:25 +00:00
Stefan Neis
d897635497
Added header needed for Solaris to find finite() prototype.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 19:43:41 +00:00
Václav Slavík
f2a6c918e8
compilation fix for wxMSW and r52961
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 15:40:49 +00:00
Václav Slavík
16361ec941
Generalized wxScrolledWindow into wxScrolled<T> that can derive from
...
anything (typically wxPanel or wxWindow). Fixed generic wxListCtrl to
use wxScrolled<wxWindow> - this fixes focus problems with label-editing
text control. Fixes to wxScrolledWindow doxygen docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 15:07:03 +00:00
Vadim Zeitlin
c8f80d2758
throw away the now invalid items in wxSelectionStore::SetItemCount() (bug 1929823) and added a unit test for this class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-31 15:22:10 +00:00
Vadim Zeitlin
4cfcb00f00
store selected indices as unsigned int, not size_t, in wxSelectionStore, we don't need to waste twice the memory needed under Win64
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-31 14:42:07 +00:00
Václav Slavík
43a302f200
added wxXmlNode::InsertChildAfter and use it for (much) faster XML parsing (based on patch by Francesco Montorsi)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-30 10:27:19 +00:00
Václav Slavík
5e05df3c7f
1. fixed wxXmlNode::InsertChild() documentation to match the code
...
2. added tests for InsertChild()
3. simplified InsertChild() code without changing what it does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-29 22:55:35 +00:00
Stefan Neis
6b5c2d5262
OS/2 port: reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType
...
instead of "long" where possible; made them const-correct etc. (see r52820)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-29 19:34:37 +00:00
Francesco Montorsi
231b9591aa
add more pure virtuals to wxBrushBase; fix the GetColour() functions to return a wxColour object and not a reference; remove from docs the non-existent SetColour(const wxString&) overloads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 16:47:58 +00:00
Vadim Zeitlin
628e155d8c
added native GTK implementation of wxCalendarCtrl (modified patch 1925439)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 02:47:12 +00:00
Robin Dunn
6c09235ca1
Fix line endings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:26:13 +00:00
Robin Dunn
c0a4c58aca
A bit of cleanup for STC's use of PopupWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:25:03 +00:00
Francesco Montorsi
2fd0ada578
final fixes to [a-b]*h headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:14:31 +00:00
Vadim Zeitlin
d2a48d5cbc
added convenient wxON_BLOCK_EXIT_SET() macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 16:13:50 +00:00
Vadim Zeitlin
51c679d5e2
added convenient wxON_BLOCK_EXIT_THISn() macros wrapping wxON_BLOCK_EXIT_OBJn(*this)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 15:37:41 +00:00
Francesco Montorsi
2f46438b36
added the rungccxml.sh script and the setup_gccxml.h file to make it easier to generate the gccxml output for ifacecheck
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 16:40:54 +00:00
Francesco Montorsi
53a2db124c
substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 15:06:00 +00:00
Stefan Csomor
5df8beb1d9
moving tlw list up, cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 21:36:11 +00:00
Francesco Montorsi
e86f2cc84a
reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType instead of "long" where possible; made them const-correct; introduce wxBITMAP_SCREEN_DEPTH instead of -1 for clearness (specially in the docs); remove wxBitmapHandler empty stubs and rename wxBitmapHandlerBase as wxBitmapHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 20:31:48 +00:00
Vadim Zeitlin
b2c31e32de
implement wxListItem::operator=()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 13:45:40 +00:00
Stefan Csomor
53b9afdefb
make popup on mac behave as on msw
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:39:43 +00:00
Stefan Csomor
ce4cf38592
turning off QuickDraw on the iPhone
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:32:45 +00:00
Stefan Csomor
96bd18d58b
addind nonowned window implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:31:44 +00:00
Stefan Csomor
a29567c821
addind nonowned window implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:30:54 +00:00
Stefan Csomor
e333075415
addind nonowned window implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:29:03 +00:00
Stefan Csomor
074ec0b565
addind nonowned window implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:27:48 +00:00
Stefan Csomor
a69476643b
addind nonowned window implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:27:14 +00:00
Stefan Csomor
e05a9196a7
addind nonowned window implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:26:01 +00:00
Vadim Zeitlin
d7ef641d4e
fix wxExecute() compilation in ANSI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-24 23:13:12 +00:00
Francesco Montorsi
020eeaa8d9
add backward compat FindOrCreateFont
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-24 12:04:34 +00:00
Stefan Neis
09b67c660c
Compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 19:12:15 +00:00
Stefan Neis
1aca6611e6
Updated brush/pen implementation for OS/2 to current implementation style.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 17:41:16 +00:00
Vadim Zeitlin
fcda20eb04
suppress warnings about hiding virtual functions in wxURLDataObject
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 15:57:47 +00:00
Vadim Zeitlin
1f2e566742
yet more compilation fixes after brush/pen style changes: remove trailing commas from enums
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 15:53:15 +00:00
Stefan Neis
4d98fefce7
Fixed compilation after wxBrushStyle/wxPenStyle changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 14:54:09 +00:00
Stefan Neis
5c80fea840
Compilation fix (CreateTimerImpl is taken from timerunx.cpp, so not inline).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 14:41:14 +00:00
Vadim Zeitlin
05718a98f9
avoid needless Unicode<->MB conversions in Unix wxExecute(); simplify the code; provide both versions taking char** and wchar_t** for compatibility; also use wxMacExecute() (renamed to wxMacLaunch() to avoid confusion) from all wxExecute() overloads but don't use it if wxEXEC_SYNC was requested as it doesn't support it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 02:27:23 +00:00