Commit Graph

19985 Commits

Author SHA1 Message Date
Vadim Zeitlin
2be7beda2d added wxSizerFlags::GetDefaultBorder()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:32:46 +00:00
Václav Slavík
82bf96f548 don't crash on weird line endings like \r\r\n
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:28:46 +00:00
Vadim Zeitlin
6003de2fe4 check that the bitmap is valid before getting its size to avoid asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:58:06 +00:00
Václav Slavík
422d020d99 fixed the check in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:47:20 +00:00
Václav Slavík
a425518dc4 assert if wxString(void* pStart,void *pEnd) ctor is used incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:37:33 +00:00
Vadim Zeitlin
72045d5768 added wxAnimationCtrl (patch 1570325)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:51:07 +00:00
Vadim Zeitlin
be6520af4e compilation fix after last change (GTK1 doesn't have g_signal_stop_emission_by_name(), only gtk_signal_emit_stop_by_name())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:14:31 +00:00
Vadim Zeitlin
fea909e19e no changes, just replaced C comment with a C++ one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:11:10 +00:00
Julian Smart
5778b3c800 Don't use precompiled header directives in included files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:10:58 +00:00
Vadim Zeitlin
c719013fd4 return false from IsDoubleBuffered() if the first top level parent is not double buffered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:57:06 +00:00
Robin Dunn
b85db900cd DLL build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:56:18 +00:00
Vadim Zeitlin
f1af673620 regenerated after adding dcbufcmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:52:42 +00:00
Vadim Zeitlin
2e992e06a7 added wxWindow::IsDoubleBuffered() and improve wxBufferedDC (patch 1565330)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:39:34 +00:00
Stefan Csomor
af86380553 copying as much values from the dc as possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:06:29 +00:00
Stefan Csomor
ebbe5c6686 adding angle conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:05:08 +00:00
Vadim Zeitlin
449090b54d added static wxPlatformInfo::Get() and use it (patch 1549176)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:58:56 +00:00
Stefan Csomor
8e108c1ec9 making pens behave as on other platforms when scaling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:53:36 +00:00
Stefan Csomor
f868f88665 set anti-aliasing ON by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:51:22 +00:00
Vadim Zeitlin
8e79a06be4 fix DoSetSelection(): it did nothing when there was no old selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:50:02 +00:00
Włodzimierz Skiba
2b741a391c Use wxBookCtrl wrapper rather than wxNotebook in common code for native book (Smartphone fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 14:37:53 +00:00
Włodzimierz Skiba
b9e5acc540 Use CreateButtonSizer in wxAboutBox() to make OK button look native.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 14:28:52 +00:00
Włodzimierz Skiba
11e70ae665 WinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 13:23:33 +00:00
Włodzimierz Skiba
e38b61ed7b WinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 12:56:26 +00:00
Vadim Zeitlin
5482ee0766 change UpdateSelection() parameter type to int from size_t; also replaced remaining -1s with wxNOT_FOUND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 12:10:01 +00:00
Włodzimierz Skiba
b68603d535 Warnings, build errors, headers, licence, prefered api and non-PCH support cleaning of fresh richtext code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 10:26:18 +00:00
Włodzimierz Skiba
a8b6a1b1cd Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 08:11:10 +00:00
Julian Smart
61c006ec82 Don't use toolbook for formatting dialog until we have icons
Select first page


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:41:03 +00:00
Paul Cornett
07854e5edd warning fixes/minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:37:25 +00:00
Paul Cornett
528e5cf81a build fixes for WXWIN_COMPATIBILITY_2_6=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:35:36 +00:00
Włodzimierz Skiba
61338568b2 Warning fixes in 'todo' part just to make build log more readable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:15:56 +00:00
Paul Cornett
716d032736 remove unused stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 05:14:39 +00:00
Paul Cornett
eea2724a28 test wxLC_SINGLE_SEL flag properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 05:12:36 +00:00
Paul Cornett
85313a9a8f non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 05:12:08 +00:00
Paul Cornett
d0dec99212 fix width/height typo in DoSetClientSize, remove unused stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 05:12:00 +00:00
Robin Dunn
3abcf424a3 Bumping the version number also requires that version.h be modified,
and also rebaking the makeifles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 01:20:56 +00:00
Vadim Zeitlin
6e27179817 define ChangeSelection() (fixes wxMotif build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:53:34 +00:00
Vadim Zeitlin
a570e8f8fe added SendPageChanging/ChangedEvent() functions; fixed wxCocoa build broken by wxNotebook::ChangePage() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:41:52 +00:00
Vadim Zeitlin
dd1c16314e restored sending events from Replace/Remove/Write/AppendText() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:16:53 +00:00
Vadim Zeitlin
e79322ef0a fix format mismatch warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:15:42 +00:00
Vadim Zeitlin
62b51bfb30 need to include wx/imaglist.h even when using PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:14:29 +00:00
Vadim Zeitlin
416f4cd9e9 don't define g_UnicodeSubsetTable in non-Unicode build (fixes gcc warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:14:02 +00:00
Vadim Zeitlin
76fa43ec36 removed default argument in the function definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:07:34 +00:00
Vadim Zeitlin
5ecfa93af6 set focus to the Ok button initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:47:10 +00:00
Vadim Zeitlin
dfd7c0821a SetOverflow() should be called with a bool argument, not m_overflow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:46:15 +00:00
Vadim Zeitlin
343ae70d4c fix compilation after recent wxTextCtrl changes
notice that it has become unfortunately impossible (or at least much more
difficult) to maintain compilation when wxRICHTEXT_DERIVES_FROM_TEXTCTRLBASE
is unset so I simply removed it as the code wouldn't compile anyhow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:42:20 +00:00
Vadim Zeitlin
ee2ec18e88 moved DoSetValue() to wxTextCtrlBase instead of having it in almost, but not quite all, derived classes; linking fixes for wxCocoa/wxX11/wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:40:14 +00:00
Vadim Zeitlin
5dcf8dd06c VC compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:33:46 +00:00
Stefan Neis
eb703a121f Initialize m_overflow in wxGridCellAttr::Clone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:22:24 +00:00
Vadim Zeitlin
b7cacb43db add IsOk() to all classes having Ok() method (patch 1570985)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:56:55 +00:00
Stefan Neis
dd61e8ed01 Use "cdecl" linkage mode for all ports with OpenWatcom (particularly WXPM).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:42:39 +00:00