Commit Graph

41354 Commits

Author SHA1 Message Date
Vadim Zeitlin
caf12a7917 removed wxEVT_POWER which wasn't declared nor used anywhere anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 11:22:02 +00:00
Robert Roebling
ca7db61eac more work on wxDC reorganizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:59:21 +00:00
Vadim Zeitlin
faa80db058 removed an extra semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:56:58 +00:00
Vadim Zeitlin
309aefbd9c don't shadow declaration of nIndex variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:54:21 +00:00
Julian Smart
24bd6cb9df Optimized update events by only sending them to visible windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:51:31 +00:00
Vadim Zeitlin
523a54d953 use the lower-case version of the parameter in GetEndianness() as intended (thanks icc for the warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:51:14 +00:00
Vadim Zeitlin
c9bd045b24 check whether compiler supports visibility pragmas used for broken libstdc++ visibility workaround and don't use visibility at all if it doesn't (which is the case for icc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:50:13 +00:00
Robert Roebling
73862e49f4 Mention that DrawLines( wxList *) is deprecated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:39:03 +00:00
Julian Smart
a2dd2ea753 Corrected bug in in revision 47973
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:34:33 +00:00
Julian Smart
8b375198b7 Fix for wxLIST_STATE_SELECTED not being returned when calling GetItem[State]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 08:48:36 +00:00
Paul Cornett
5c15fb214e wcstod seems to be more widely available than wcstof
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 02:48:56 +00:00
Paul Cornett
c222ad41b2 build fix for AIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 02:39:23 +00:00
Paul Cornett
8fd7108e7c fix for HP and IBM compilers, calls to static template functions must be qualified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 02:39:08 +00:00
Vadim Zeitlin
043c67059f allow the user to press Esc to close preview frame wherever the focus is, not only if it's on the canvas itself (patch 1719276)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 23:11:22 +00:00
Vadim Zeitlin
0edeeb6d96 use wxWindow::NewControlId() instead of wxNewId() to avoid clashes with user-defined ids; bug fixes in wxMSW for negative menu and toolbar items ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 22:58:55 +00:00
Vadim Zeitlin
5bd01f2048 update from Antonio Cardoso Martins
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 22:22:04 +00:00
Robert Roebling
526e19e2d3 Patch from Bo for new selection API and impl. of GetColumnPos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 19:38:57 +00:00
Vadim Zeitlin
03cf4aa61d apply XRCID() automatically to XRCSIZERITEM() argument (patch 1798697)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 16:29:05 +00:00
Vadim Zeitlin
564da6ff0b fix round trip check in wxMBConv_win32::WC2MB() when the buffer size is 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 13:16:37 +00:00
Vadim Zeitlin
3cc3afeba0 Ukrainian translation update from Yuri Chornoivan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 12:40:36 +00:00
Vadim Zeitlin
3ee6201fb8 added Portuguese translation from Antonio Cardoso Martins
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 12:20:45 +00:00
Vadim Zeitlin
b3adca1e98 remove extra colons and semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 10:23:20 +00:00
Vadim Zeitlin
1a8e8d694b added missing wxUSE_RICHEDIT test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 10:22:09 +00:00
Paul Cornett
1ad9ba1462 fix HAVE_ macros not being converted to uppercase on Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 02:06:04 +00:00
Vadim Zeitlin
d24f0fab26 build fixes for MSVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 00:16:14 +00:00
Vadim Zeitlin
4c1c25a778 rebake after libtiff changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 00:02:53 +00:00
Vadim Zeitlin
3442c078ad build updates for libtiff 3.8.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 00:01:33 +00:00
Vadim Zeitlin
8414a40c52 import libtiff 3.8.2 into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:59:15 +00:00
Vadim Zeitlin
6854c3fccb remove the old hybrid libtiff sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:51:55 +00:00
Robin Dunn
391e226e8b Give wxPowerEvent wxRTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:14:16 +00:00
Robert Roebling
261a9107f0 GTK+ selects the first item initially, II
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 13:55:24 +00:00
Robert Roebling
1d5a4d441b GTK+ selects the first item initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 13:48:39 +00:00
Vadim Zeitlin
e5dd66e9d2 use update UI handler for the up and new directory buttons instead of manually updating the controls, this fixes a bug where up button wasn't enabled back after selecting a child of top level directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 12:24:05 +00:00
Vadim Zeitlin
e8548d99ac use drives paths, not names, in the dialog to avoid confusing HandleAction() with the drive names which it fails to interpret properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 12:14:23 +00:00
Robert Roebling
af270b2773 Correct alphabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:58:31 +00:00
Vadim Zeitlin
1db2c81b63 remove platform check, always compile this file as it's needed at least by the dialogs sample on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:47:27 +00:00
Vadim Zeitlin
8522a5458b fix warning about int->bool conversion; wrap long lines to 80 columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:39:26 +00:00
Robert Roebling
fc694caa0a Let wxListCtrl generate the context menu event itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:35:39 +00:00
Vadim Zeitlin
c5b8c66a84 use fabs() instead of abs() to fix mingw32 compilation (bug 1797589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 10:12:11 +00:00
Vadim Zeitlin
385addaf21 shut down GDI+ from a module instead of doing it during static object destruction time when it may be too late (patch 1792915)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 01:02:16 +00:00
Vadim Zeitlin
b701f995b1 allow using wxSizerFlags with wxSizer methods adding spacers too (patch 1797272)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 00:45:31 +00:00
Vadim Zeitlin
e86882e38d fix bug with deleting and recreating entries in wxFileConfig (patch 1796866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 00:41:55 +00:00
Michael Wetherell
8a2a5a449e template class WXDLLIMPEXP_FWD_XRC wxVector<wxXmlResourceHandler *>;
instantiates as well as forward declares, which gives us multiple definition
link errors on some systems. So trying WXDLLIMPEXP_FWD_XRC on the declaration
of m_handlers instead.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 21:49:27 +00:00
Robert Roebling
90254df808 Rearrange code to fix some problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 17:43:17 +00:00
Robert Roebling
b29b9485f6 Correct setting of line width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 17:09:12 +00:00
Paul Cornett
db885f2a99 return type for "grab-broken-event" is not void; remove some redundant conditionals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 15:51:07 +00:00
Julian Smart
cecf8eee83 Layout corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 15:15:38 +00:00
Vadim Zeitlin
88b9909d1a fix for the last commit: reset the dummy wxRICHTEXT_DEFAULT_DROPTARGET pointer in dtor to avoid crashing when trying to delete it in the base class dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 12:06:46 +00:00
Vadim Zeitlin
00ceccee89 properly NUL-terminate the buffer returned by wxMBConv::cMB2WC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 12:04:39 +00:00
Julian Smart
78cd9c69eb wxBORDER_THEME now means 'use an appropriate themed border' on all plaforms
as opposed to wxBORDER_NONE which may or may not show a border, depending on control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 10:48:05 +00:00