Commit Graph

36542 Commits

Author SHA1 Message Date
Vadim Zeitlin
31189345e1 use native toolbar, font dialog and CG by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 22:56:48 +00:00
Vadim Zeitlin
ce7efe2d0f swap wxANIHeader bytes on big endian architectures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 22:26:25 +00:00
Vadim Zeitlin
9d9e385850 replaced Ok() with IsOk(), no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:59:46 +00:00
Vadim Zeitlin
deb325e3b2 avoid conflict between wxBookCtrlBase::DoSetSelection() and the derived classes; refactor more common code into the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:29:12 +00:00
Vadim Zeitlin
6500a868fe added CreateSeparatedButtonSizer(), changed signature and semantics of CreateButtonSizer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:15:52 +00:00
Vadim Zeitlin
7444cb50d1 call Refresh() to make animation work under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:15:00 +00:00
Vadim Zeitlin
97ebfd549b added more helper functions for setting borders in wxSizerFlags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:11:37 +00:00
Vadim Zeitlin
25eb10d2e1 added CreateSeparatedButtonSizer(), changed signature and semantics of CreateButtonSizer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:10:22 +00:00
Vadim Zeitlin
bd9f3519cf use wxSizerFlags and updated CreateButtonSizer() in all generic dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:08:45 +00:00
Vadim Zeitlin
1027cedd47 forgot to commit during last regeneration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 20:49:01 +00:00
Robert Roebling
0e21cf4902 IsExposed() needs to reverse the direction in RTL.
I actually wonder if not the calling code is wrong,
    but this fixes wxListCtrl and wxTreeCtrl for the
    time being.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 20:32:12 +00:00
Robert Roebling
8e9ec7239f [ 1573855 ] Improved appearance of wxComboCtrl's wxTextCtrl
More work needs to be done for the version with
 images.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 20:12:19 +00:00
Robert Roebling
fba93835f5 Compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 20:10:02 +00:00
Vadim Zeitlin
e86571392a RC file is not needed and not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:54:35 +00:00
Robert Roebling
ff1dadae38 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:33:13 +00:00
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
Vadim Zeitlin
62637495c9 extended wxSizerFlags docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:29:16 +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
Vadim Zeitlin
c3d6e0aa29 menu id 0 doesn't work under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:57:07 +00:00
Robin Dunn
9a3dccf6d6 double buffer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:56:41 +00:00
Robin Dunn
f541d8293a Added wx.AboutBox()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:55:10 +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
3652fd78a8 use sample icon, not mondrian one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:10:00 +00:00
Vadim Zeitlin
3ea50042c9 regenaretd after samples/animate addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:56:09 +00:00
Vadim Zeitlin
735655319a baked the standard makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:55:20 +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
3193b86f29 added references to XML classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:09:20 +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
ee4b5fba90 fix the sample icon (patch 1570974)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:50:05 +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
Julian Smart
aa7a6a0e5c Removed dependence on wxClientDC and blitting from a window,
for compatibility with Mac OS X in Core Graphics mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:15:13 +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
c3f1f8d82c use native toolbar, font dialog and CG by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 12:10:24 +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