Vadim Zeitlin
b85b06e13d
fix compilation without wxUSE_STREAMS ( closes #10900 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 21:57:23 +00:00
Vadim Zeitlin
5dd0965333
remove more occurrences of MSVC #pragma warning(default) ( closes #10885 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 21:50:23 +00:00
Vadim Zeitlin
c37dd6dad7
implement wxGTK wxBitmapButton in terms of wxButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 19:31:50 +00:00
Vadim Zeitlin
b4a4eafbcc
implement support for bitmaps for all states in wxGTK wxButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 19:08:59 +00:00
Vadim Zeitlin
02bad8305c
added helper GTKShouldIgnoreEvent() to use in void GTK event handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 19:08:24 +00:00
Robert Roebling
9330d5afb6
Many more corrections and clarifications to virtual index list model use
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 17:59:09 +00:00
Vadim Zeitlin
eebe696ec9
fix typo in compatibility SetBitmapLabel() declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 15:59:42 +00:00
Vadim Zeitlin
7be740a3fd
implement support for button bitmaps (normal state only for now) for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 05:16:31 +00:00
Vadim Zeitlin
23d8a71f51
fix PCH-less build after changing timer id type to WPARAM ( closes #10901 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 05:05:20 +00:00
Vadim Zeitlin
a6fd73d33a
implement wxBitmapButton as just a wrapper for wxButton under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 23:10:16 +00:00
Jaakko Salli
4e00b90802
Added support for wxLongLong and wxULongLong in wxVariant ( closes #10166 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 22:43:27 +00:00
Robert Roebling
8ba01d3546
Fix sending wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK, fixes #10894 : Missing OSX-Carbon DataView control header click events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 18:35:24 +00:00
Vadim Zeitlin
d8c89c487d
no real changes, just extract private classes from msw/dc.cpp into a private header so that they could be reused from button owner drawing code too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 17:49:27 +00:00
Vadim Zeitlin
491acfc75e
use WPARAM (which is 64 bit under Win64) for timer ids instead of long (which is still 32 bit) (see #10896 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 17:14:50 +00:00
Vadim Zeitlin
233f10bf15
implement images support for wxButton under XP and later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 04:23:54 +00:00
Vadim Zeitlin
81cb7b5a98
include wx/bitmap.h which is required by wxButton now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 03:36:16 +00:00
Vadim Zeitlin
28ac82bf04
added missing parentheses in a couple of GetHxxxOf() macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 03:35:30 +00:00
Vadim Zeitlin
2352862a7e
preparation work for implementing images support in wxButton: move wxBitmapButton methods to the base class (enhancing/completing them in the process); there are no functionality changes yet (hopefully)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-14 22:55:24 +00:00
Robert Roebling
e4e83d3ad6
Make wxDataViewModel derive from wxRefCounter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-14 14:11:07 +00:00
Jaakko Salli
cf25a599cd
Converted wxVariant to use wxObject's reference counting facilities. Should make sense as wxVariant already derived from wxObject and now wxVariantData inherits wxRefCounter/wxObjectRefData.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-13 14:55:45 +00:00
Robert Roebling
b42d5f7556
Use wxRefCounter instead of wxObjecrDataRef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:18:17 +00:00
Robert Roebling
6d37c1b773
Rename wxObjectDataRef wxRefCounter, use it in wxVariant
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:16:07 +00:00
Vadim Zeitlin
f76c075805
added convenient wxFont::Make{Bold,Italic,Smaller,Larger} and Scale() methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:11:21 +00:00
Vadim Zeitlin
c797aec4b9
remove unnecessary refCount=1 parameter from wxObjectRefData ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 19:36:58 +00:00
Jaakko Salli
bd035313c1
wxPGCellRenderer ctor doesn't really need refCount argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 19:03:41 +00:00
Vadim Zeitlin
0d14e4f21d
added XRC handler for wxFileCtrl ( closes #10785 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 17:40:11 +00:00
Vadim Zeitlin
92ffc98a08
reuse wxObjectRefData for various ref-counted classes ( closes #10886 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 17:14:28 +00:00
Robert Roebling
58e914f015
Remove remaining bits of marker drawing during resizing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 16:15:35 +00:00
Vadim Zeitlin
d9e80dce15
make more wxFileName methods const ( closes #10887 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 15:28:45 +00:00
Jaakko Salli
517add0d35
Added missing virtual dtor for wxPGMultiButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 14:01:25 +00:00
Jaakko Salli
b7d1985040
For needs of wxPython bindings, (re)added a version of RegisterEditorClass() that accepts a custom name for editor.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 13:49:59 +00:00
Vadim Zeitlin
fb330c2ec3
disable MSVC warning 4275 correctly ( closes #10885 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 03:37:47 +00:00
Vadim Zeitlin
4cd15b49b4
allow customizing wxStandardPaths logic for the program directory determination
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 16:46:19 +00:00
Vadim Zeitlin
89391a4ea1
make wxFileName::{Mk,Rm}dir() const ( closes #10868 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 16:11:07 +00:00
Stefan Csomor
7cb2a24183
adding events to single line textcontrols (password is not fully supported)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 06:40:24 +00:00
Jaakko Salli
27c1f235ba
Allow reparenting wxPropertyGrid(Manager) to work; Show error and suggest calling wxPropertyGrid::OnTLPChanging() if top-level parent changed indirectly.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 20:36:56 +00:00
Vadim Zeitlin
6de7047076
add virtual DoGetTextExtent() to allow calling the overloaded wxWindowBase::GetTextExtent() on wxWindow objects without any ugly casts/scope resolution operators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 16:41:41 +00:00
Vadim Zeitlin
806a83167b
removed the inexistent (at least in 10.4 SDK) and unneeded carbon/carbon.h header inclusion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 15:05:07 +00:00
Vadim Zeitlin
ed70364591
add missing DLL export declaration to fix linking in shared library build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 14:43:38 +00:00
Vadim Zeitlin
0049c31e8d
derive wxStandardPathsCF from Unix wxStandardPaths implementation to make it possible to return it from wxGUIAppTraits::GetStandardPaths()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:56:43 +00:00
Vadim Zeitlin
adcc13ac81
disable MSVC warning 4275 which is harmless and can't be avoided anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:27:07 +00:00
Jaakko Salli
b8b1ff481c
Implementations of wxPGProperty::ChildChanged() must now return changed value of the whole property instead of writing it back to 'thisValue' argument. This change was done primarily for better compatibility with wxPython bindings, but should also be slightly more cleaner behavior API-wise. Breaks backwards compatibility, but not silently.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 07:52:53 +00:00
Vadim Zeitlin
25f49256ac
return wxStandardPaths, not wxStandardPathsBase, from wxStandardPathsBase::Get() to allow calling platform-specific methods on it if necessary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:34:05 +00:00
Vadim Zeitlin
5470512797
disable warning about _set_se_translator() requiring /EHa for VC9 too (it was disabled for up to VC8)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:27:37 +00:00
Vadim Zeitlin
7faab5c528
define _SCL_SECURE_NO_WARNINGS to avoid warnings about unsafe standard library functions (such as xsgetn() used in wx/stdstream.h) from VC8+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:10:19 +00:00
Vadim Zeitlin
895cae46b7
work around (harmless) warnings in VC7 release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:04:50 +00:00
Jaakko Salli
ac1013c060
Added wxPGProperty::Set/GetValuePlain() for direct m_value member access needed by wxPython bindings .m_value property
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 15:28:40 +00:00
Jaakko Salli
45e82d4ceb
Added better asserts, helps with debugging strange wxVariant issues
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 15:27:55 +00:00
Vadim Zeitlin
80f624ec0c
added multiple selections support to wxDirCtrl ( closes #10830 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 14:00:51 +00:00
Vadim Zeitlin
b2d76621c2
export wxStatusBarPaneArray from the DLL to fix Borland multilib build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 12:01:46 +00:00
Vadim Zeitlin
0503f19ca8
compilation fixes for g++ 3.2 ( closes #10875 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-05 08:54:48 +00:00
Vadim Zeitlin
adcda299c0
added wxEditbaleListBox XRC handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 23:41:51 +00:00
Vadim Zeitlin
a96827606e
postpone the call to CopyAttributes() until the DC is fully initialized ( closes #10867 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 08:55:44 +00:00
Vadim Zeitlin
3998c74b9b
use wxRA_SPECIFY_COLS/ROWS instead of old, deprecated and confusing wxRA_HORIZONTAL/VERTICAL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-03 22:33:32 +00:00
Vadim Zeitlin
e77669fcee
don't fix the columns number to 1 by default in ctors ( closes #10863 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-03 22:28:26 +00:00
Jaakko Salli
9ab4a43845
Make this header SWIG-safe
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 14:16:20 +00:00
Vadim Zeitlin
febd3dcaf8
added wxUINTn_MAX constants; document them together with the existing wxINTn_MIN/MAX ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:43:32 +00:00
Francesco Montorsi
23790a2a29
add wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions; also add to wxPlatformInfo the GetOperatingSystemDescription(), GetDesktopEnvironment(), GetOperatingSystemDirectory() functions to group in the same class (wxPlatformInfo) all available platform-detection functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:01:41 +00:00
Francesco Montorsi
ed1288eef0
add wxProgressDialog::SetRange() function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 23:19:25 +00:00
Francesco Montorsi
d1279c9a3d
no change: fix a couple typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 23:05:37 +00:00
Robert Roebling
e6bfb8a131
non-PCH compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 15:26:24 +00:00
Robert Roebling
715c9810a1
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 15:15:27 +00:00
Robert Roebling
0a807957e6
Closes #10495 : wxDataViewCtrl needs a way to start the label editor programmatically, also Windows port now emits vetoable ..._EDITING_STARTED event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 13:57:38 +00:00
Francesco Montorsi
a9a2485d64
fix loading ICO from socket stream: override OnSysTell and OnSysSeek rather than directly SeekO/I or TellO/I; in wxICOHandler only call SeekI() if we have a non-null seek offset
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 13:56:41 +00:00
Francesco Montorsi
53c2cdb0b1
fix PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 12:40:50 +00:00
Francesco Montorsi
8faef7ccbc
document that CanRead() and GetImageCount() functions of wxImageHandlers do NOT modify the current stream position and that they require seekable streams; rename current GetImageCount() functions to DoGetImageCount() and put save-and-restore stream position logic in GetImageCount(); add comments in the various DoCanRead() and in DoGetImageCount() where the stream position is modified; remove unneeded SeekI(0) calls from DoCanRead() and DoGetImageCount() functions: they didn't allow to load images from non-seekable streams; implement forward-seeking in wxInputStream::SeekI() also for non-seekable streams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 11:43:36 +00:00
Vadim Zeitlin
255c07b4df
extracted wxTextWrapper in its own header and made it public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 20:12:07 +00:00
Vadim Zeitlin
4feecbb929
added wxDC::CopyAttributes() and use it in wxBufferedDC to ensure that wxAutoBufferedPaintDC font is correctly initialized from the window font, as it already happens with wxPaintDC that it mimics
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:40:04 +00:00
Václav Slavík
a5c1223d2f
use enhanced metafiles for wxMSW print preview: this is as accurate as previous code, but much faster ( fixes #9970 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:15:07 +00:00
Václav Slavík
cc3445715d
add ability to create wxEnhMetaFileDC based on a reference DC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:11:15 +00:00
Vadim Zeitlin
dd36b5a3e5
don't redefine HAVE_STRFTIME as it can already be defined by configure ( closes #10861 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 18:57:20 +00:00
Vadim Zeitlin
4b14a2f79b
added default ctor to wxMouseEventsManager, this is convenient when deriving window classes (which must provide default ctors to e.g. allow loading them from XRC) from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 14:43:01 +00:00
Vadim Zeitlin
0598625cb2
don't add client area origin when positioning the child MDI frame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 13:22:45 +00:00
Vadim Zeitlin
671683c445
enable OpenGL library build by default under Windows too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 12:55:11 +00:00
Vadim Zeitlin
f1a73c6a81
added wxTempFile::Flush() (dedicated to Theodore Ts'o and Ext4)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 09:49:31 +00:00
Vadim Zeitlin
24f618eea6
allow overriding wxUSE_GLCANVAS value in setup.h by using USE_OPENGL=1 with make ( closes #10832 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 09:12:20 +00:00
Jaakko Salli
0ce8e27f68
Added wxPGProperty::SetDefaultValue(v), as a shortcut for SetAttribute(DefaultValue, v)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 08:58:38 +00:00
Vadim Zeitlin
e1983cad7c
implement Update() properly for the generic wxListCtrl (see #10857 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 22:25:42 +00:00
Vadim Zeitlin
68fe70ea1f
define HAVE_LARGEFILE_SUPPORT in setup.h when large files support is available and test for it in wx/filefn.h ( closes #10844 ); document that wx/filefn.h must be included before testing for wxHAS_LARGE_(F)FILES
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 17:15:36 +00:00
Jaakko Salli
14bac4b5b9
More forward-ported wxPython-bindings related cleanup from 2.9.0 branch, also documented wxPGProperty::GetItemAtY()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 11:20:35 +00:00
Jaakko Salli
b512ed9320
Forward-ported wxPython-bindings related cleanup from 2.9.0 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 10:49:05 +00:00
Vadim Zeitlin
f6363458bc
avoid g++ 4.3 warnings about conflict between parameter and method names ( closes #10843 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-28 09:49:20 +00:00
Stefan Csomor
f95dd972d9
allowing font changes on multi-line textctrls, see #10801
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-27 09:52:23 +00:00
Vadim Zeitlin
ef18e79223
add support for defining list control columns in XRC too (and correct a few things in previously added list items support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-25 13:00:28 +00:00
Vadim Zeitlin
abd694417a
remove wxMSW-specific (but copied into wxPalm too) wxAppTraits::AlwaysYield(), it's useless now that wxEventLoop is in wxBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 19:39:40 +00:00
Vadim Zeitlin
fb4079af5b
fill in the fields of wxListItem in a wxListEvent before handling the event ( closes #10820 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 18:04:37 +00:00
Vadim Zeitlin
5508feb8f7
wxUSE_GSTREAMER is Unix-specific, remove it from common wx/setup_inc.h; it also requires wxUSE_THREADS, check for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 09:40:15 +00:00
Vadim Zeitlin
6528a7f145
make wxWindow::SetAutoLayout() now works for all windows, not just panels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-23 11:26:58 +00:00
Vadim Zeitlin
e5033ed2f1
initialize wxDocChildFrameAnyBase before creating the real window to ensure that event handling is set up properly before the first events for the new window are received ( closes #10825 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 22:46:18 +00:00
Vadim Zeitlin
ec86c7ce41
no real changes, just remove unneeded empty dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 19:54:09 +00:00
Vadim Zeitlin
5c3313a968
return the correct number of columns from wxGridStringTable, even when we don't have any rows ( closes #10818 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 19:53:32 +00:00
Vadim Zeitlin
c65c67beba
allow 2 step creation of wxDocChildFrameAnyBase and derived classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 14:02:07 +00:00
Vadim Zeitlin
283965f0b3
don't use m_useProxy if !wxUSE_PROTOCOL_HTTP (see #10815 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 23:02:21 +00:00
Vadim Zeitlin
86c30bc557
added Asturian language entry (see #10808 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-19 10:51:11 +00:00
Francesco Montorsi
d6764050d8
fix the wxCursor(const wxString& cursor_file, ...) ctor by reusing wxImage ctor; fix doxygen rendering of that ctor docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-16 10:42:48 +00:00
Vadim Zeitlin
d8a7829312
move virtual GetPath() implementation out of line to work around an apparent Fedora g++ 4.x bug (see #10791 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 18:02:41 +00:00
Julian Smart
50283a5142
Added background colour control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 11:20:38 +00:00
Stefan Csomor
94b4dd5499
add window-modal dialog calls and fallback implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 07:01:51 +00:00
Stefan Csomor
f62a3b6a53
files are replaced by dataview implementations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 19:56:21 +00:00
Vadim Zeitlin
3cd9070c78
Cygwin doesn't have std::wstring nor std::wostream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 17:08:45 +00:00
Vadim Zeitlin
fa3987efdb
fixed wxRadioBox positioning to take the client area origin into account; also simplified the code to avoid duplication with the base class version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-11 21:54:34 +00:00
Robert Roebling
ca6de8c056
Forgot to commit header as part of r60586, Reapplied some previous patches
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-11 12:53:19 +00:00
Stefan Csomor
2acc3915ec
exporting methods properly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-10 19:43:39 +00:00
Vadim Zeitlin
3b84c8078e
compilation fix for Windows after the last change (misplaced #endif)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 17:25:27 +00:00
Vadim Zeitlin
4f73f25cc8
don't use GetParent() in GetParentForModalDialog() itself as it can be called before m_parent is initialized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 16:55:37 +00:00
Vadim Zeitlin
7172db1857
initialize the local address before calling getsockname() on it ( closes #10779 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 13:07:21 +00:00
Francesco Montorsi
0253bbbabc
add a few comments about wxDEPRECATED stuff to ease upgrade path ( closes #10628 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:41:31 +00:00
Francesco Montorsi
8602802568
add new predefined colour (and relative brush/pen): wxYELLOW ( closes #10669 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:40:09 +00:00
Vadim Zeitlin
8bda0ec6a3
remove wxMSW-specific FindSuitableParent() and use GetParentForModalDialog() everywhere; extend it with additional checks and remove redundant ones elsewhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:26:15 +00:00
Robert Roebling
e86edab05b
Add wxDataViewCtrl implementation for OSX/Cocoa ( closes #10617 : wxDataView for wxOSX-Cocoa)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-08 17:07:50 +00:00
Vadim Zeitlin
326462ae94
add support for loading wxListCtrl items and wxImageLists from XRC ( closes #10647 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-07 17:29:57 +00:00
Stefan Csomor
29391f32dd
explicitly export symbols
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-07 07:39:43 +00:00
Vadim Zeitlin
5cbe87b2fa
enable wxHAS_RAW_BITMAP for OpenWatcom 1.8 and later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 11:42:16 +00:00
Paul Cornett
7ac1b576c4
build fixes for wxUSE_CONFIG==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 03:08:33 +00:00
Václav Slavík
d0f063020e
use <bitmapsize> to load bitmaps at the specified size in wxToolBar's XRC handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-05 18:23:04 +00:00
Vadim Zeitlin
61b1a51bde
allow comparison of int with 64 bit integer type (see #10637 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-03 09:59:31 +00:00
Vadim Zeitlin
6e12b56f5e
test whether wxHAS_EVENT_BIND is supported in wx/features.h itself, not wx/chkconf.h as the former is included after the latter and so the check was done too early and wxHAS_EVENT_BIND was always defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-03 07:44:44 +00:00
Vadim Zeitlin
54a9471afb
check for wxHAS_EVENT_BIND instead of its converse; updated/coorected some comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-03 07:43:28 +00:00
Vadim Zeitlin
f1a736636c
remove mentions of wxEVENTS_COMPATIBILITY_2_8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-03 07:43:00 +00:00
Vadim Zeitlin
72a7c55982
added wxStd{In,Out}putStream classes ( closes #10637 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 18:29:33 +00:00
Vadim Zeitlin
40636dcbfe
don't use dialog size gripper under CE (should close #10765 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 17:06:39 +00:00
Vadim Zeitlin
16d2c3ea74
use correct Windows CE version number in strnlen() check (really closes #10763 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 16:17:00 +00:00
Vadim Zeitlin
f27683e7da
don't use access declarations with Watcom which doesn't support them correctly ( closes #10749 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 15:31:14 +00:00
Vadim Zeitlin
ca6911c361
allow passing temporary functors to Bind() too ( closes #10653 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 15:28:16 +00:00
Vadim Zeitlin
951f792f7d
WinCE doesn't provide strnlen/wcsnlen() until version 6.0 ( closes #10763 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 15:25:38 +00:00
Vadim Zeitlin
c1ea6afb87
keep {Left,Middle,Right}Down() methods of wxMouseState which were present in 2.9; just deprecate them in favour of the new XXXIsDown() ones (see #10756 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 13:10:38 +00:00
Vadim Zeitlin
890d70ebea
improvements to wxEventFunctor classes; use wxHAS_EVENT_BIND instead of wxEVENTS_COMPATIBILITY_2_8 (see #10653 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 12:52:54 +00:00
Jaakko Salli
d58526d554
Fixed bug: wxPropertyGridInterface::SetPropertyReadOnly() with wxPG_DONT_RECURSE flag didn't do anything
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 07:41:21 +00:00
Vadim Zeitlin
c5c1ea9648
rename wxGrid::SendSizeEvent() to SendGridSizeEvent() to avoid warnings about conflicts with base wxWindow class method with the same name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-01 22:59:58 +00:00
Vadim Zeitlin
bca8c756a3
added wxMouseEventsManager
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-01 22:52:33 +00:00
Vadim Zeitlin
75004dfbe5
implement changing wxChoice and wxComboBox height
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-01 21:49:43 +00:00
Vadim Zeitlin
6bd9b9f247
added MSWEndDeferWindowPos(); renamed USE_DEFERRED_SIZING to wxUSE_DEFERRED_SIZING and moved it to the header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-01 21:48:10 +00:00
Vadim Zeitlin
27bb2c8cb7
generate wxEVT_GRID_{COL,ROW}_SIZE events when the user double clicks the separating line too; do not generate these events if the size didn't really change (further improvements to grid events are possible and remain needed, see #10754 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-29 21:59:10 +00:00
Vadim Zeitlin
ab826fd86f
don't duplicate wxMouseState in wxMouseEvent but reuse its methods and variables (somehow this was never done when wxMouseState was introduced)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-29 21:42:30 +00:00
Jouk Jansen
c437b3f4e4
Do not use Tooltips if they are disabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-28 11:13:11 +00:00
Robert Roebling
e1bdb16a91
Compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-28 09:39:52 +00:00
Vadim Zeitlin
5e1d513ea3
make it possible to forward declare the class defined by WX_DECLARE_HASH_SET (fixes the build on systems where unordered_set is available after r60408)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-27 13:26:19 +00:00
Vadim Zeitlin
82edfbe7d9
add a possibility to disable individual grid rows/columns resizing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 17:02:53 +00:00
Vadim Zeitlin
fa531da023
wxHashSet::count() method should be const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 16:50:24 +00:00
Francesco Montorsi
8f99e9c314
typo fix (strangely VC9 doesn't consider it an error)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 14:38:55 +00:00
Vadim Zeitlin
c173e541b8
add parent parameter to wxAboutBox() ( closes #9952 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 13:41:21 +00:00
Francesco Montorsi
6418ad5ec8
Add support for wxSTB_ELLIPSIZE_* and for wxSTB_SHOW_TIPS flags under wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 13:37:16 +00:00
Vadim Zeitlin
a3ef8eb503
set correct EOL style for files added in r58024
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 10:52:13 +00:00
Vadim Zeitlin
3aaaf1aaa0
add support for table border width attribute ( closes #10610 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 23:19:04 +00:00
Vadim Zeitlin
c767a5bbfe
optimize FindItem(data) performance ( closes #9870 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 22:31:48 +00:00
Vadim Zeitlin
7491aa2e0b
another typo correction after last change, correct the return types too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 17:18:31 +00:00
Vadim Zeitlin
4c709bdd6a
compilation fix after the latest change (typo: used char instead of wchar_t)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 15:58:21 +00:00
Vadim Zeitlin
d5e71e81ec
more order in wxCRT_filefunctions: define A and W versions, just as for everything else and simply map suffix-less versions to the appropriate ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 15:53:45 +00:00
Vadim Zeitlin
4691b518df
Cygwin doesn't have _wcsdup() ( closes #10738 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 14:48:19 +00:00
Vadim Zeitlin
e9b6485645
define wxStrchr(non-const char-or-wchar_t*) as a template to ensure that second parameter of any type that can be used with const version can be used with this one too; this is shorter than listing them all explicitly and without this Borland refuses to compile wxStrchr(char *, wxUniChar) (see #10736 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 14:12:32 +00:00
Vadim Zeitlin
1b5f83357d
disable wxGC for Borland as it can't compiler the macros used in msw/gdiplus.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 14:08:05 +00:00
Vadim Zeitlin
a2d03e4c51
workaround for Borland compilation: don't use unspecified_bool_type for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 14:07:15 +00:00
Vadim Zeitlin
4bf3e3a702
build fixes for Borland in wxUSE_UNICODE_MSLU and wxHAS_HUGE_FILES cases; only define one of wxMSLU__wstat and wxMSLU__wstati64; also define wxStructStat as 64 bit version of struct stat if needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:52:58 +00:00
Vadim Zeitlin
88eb6b7c8b
make wxSTRING_BASE_HASNT_CLEAR check more readable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:19:27 +00:00
Vadim Zeitlin
3795f11ff2
define __EVC4__ for eVC 4 compiler to make testing for it easier
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:16:59 +00:00
Vadim Zeitlin
8f823da835
set wxUSE_STD_IOSTREAM to 0 for eVC which doesn't provide the standard streams (see #10718 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:08:38 +00:00
Vadim Zeitlin
b808834950
eVC4 version of std::string doesn't have clear() neither (see #10718 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:04:22 +00:00
Francesco Montorsi
c4c178c10d
use wxSTB_ as prefix for wxStatusBar styles; add support for wxSTB_ELLIPSIZE_* flags under wxGTK; support wxSTB_SHOW_TIPS even if no ellipsization mode is active; update the sample to allow the user to choose the wxStatusBar style dynamically
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 12:59:09 +00:00
Francesco Montorsi
39cdc95fb3
allow windows which are placed inside wxStaticBoxes to be built as children of the wxStaticBox itself rather than forcing users to build them as siblings of the static box ( closes #9859 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 10:49:36 +00:00
Francesco Montorsi
30800ba5e4
fix push/pop mechanism after r58786; add a few notes about the stack mechanism both in the docs and in the public header (see #10733 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 21:14:59 +00:00
Francesco Montorsi
c94bdf2a19
implement tooltips for wxStatusBar panes whose contents were ellipsized; introduce wxST_SHOW_TIPS and wxST_DEFAULT_STYLE styles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 11:10:44 +00:00
Francesco Montorsi
9b49405777
no real change; just add the standard separator where it's missing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 00:05:14 +00:00
Vadim Zeitlin
89574e1d55
blind fix for eVC compilation with wxEVENTS_COMPATIBILITY_2_8==0 (hopefully closes #10714 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 12:23:51 +00:00
Stefan Csomor
0698ed3ca8
removing overloads to avoid 'hidden method' warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 11:10:40 +00:00
Vadim Zeitlin
ac26ed15ac
really fix compilation with wxEVENTS_COMPATIBILITY_2_8 after r60212
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-17 00:35:58 +00:00
Vadim Zeitlin
e1614128e1
compilation fix for wxEVENTS_COMPATIBILITY_2_8 build after r60212
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 22:41:52 +00:00
Vadim Zeitlin
0fe243db0c
remove wxNewEventFunctor() overload which allowed calls to "Bind(evt, &WrongClass::method)" to compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 21:23:28 +00:00
Jaakko Salli
16372f0d97
wxFlagsProperty now automatically relays wxBOOL_USE_CHECKBOX and wxBOOL_USE_DOUBLE_CLICK_CYCLING to child bool properties ( closes #10690 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 19:28:39 +00:00
Vadim Zeitlin
b18e2046af
pass wxIntPtr, not wxUIntPtr, to wxListCtrl::SortItems() callback as it's more compatible with the existing code assuming that this parameter is signed (as our own wxFileCtrl did)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 13:00:40 +00:00
Vadim Zeitlin
113f623379
remove dll export declaration from wxCStrData now that all its methods are inline (fixes mingw32 warning in DLL build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:31:33 +00:00
Vadim Zeitlin
6e2f308461
use wxUIntPtr instead of long for 3rd parameter of wxListCtrl::SortItems() to allow passing pointers to it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:23:50 +00:00
Stefan Csomor
50b5e38d3f
textctrl fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 19:44:51 +00:00
Stefan Csomor
d9d551f6a2
adapting TextUpdateEvents, using wxTextEntry API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 20:09:39 +00:00
Stefan Csomor
c443ff6f53
fixing native font info support bugs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 19:58:51 +00:00
Vadim Zeitlin
ff3fd98a08
remove semicolon from wxDECLARE_EVENT; having it there was inconsistent with other wxXXX_EVENT macros and generally unexpected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 12:47:46 +00:00
Václav Slavík
fb5ae4f6d9
(blind) fix for VC6s' warning about non-dll base template class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 07:02:59 +00:00
Vadim Zeitlin
582886dde5
return empty string instead of NULL from mb_str()/wc_str() when conversion fails to avoid crashing badly written code which doesn't check for conversion failures
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 17:48:11 +00:00
Vadim Zeitlin
f20e268907
fix g++ warnings about initialization order mismatch after the last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 23:43:04 +00:00
Vadim Zeitlin
75ac34cefc
fix support for using asterisks in the format string and some code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 23:37:28 +00:00
Vadim Zeitlin
f54cb154d5
return persistent buffers from mb_str()/wc_str() to allow assigning the returned value to simple pointers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 19:49:45 +00:00
Francesco Montorsi
34be948fdb
no real change; just fix the argument name of the wxFont(const wxString&) ctor under wxGTK since it was misleading
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 16:06:43 +00:00
Václav Slavík
ed5e656088
fixed wxString::utf8_str() in UTF8 build to return buffer with length
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 10:12:44 +00:00
Vadim Zeitlin
85fcb94fc9
implement GetImageCount() for GIF handler ( closes #10663 ); added test for it to the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 12:52:22 +00:00
Vadim Zeitlin
24a5629aed
define HAVE_SSIZE_T if we define ssize_t ourselves to prevent redefinitions in other libraries headers ( closes #10674 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 12:16:58 +00:00
Vadim Zeitlin
390b8241d3
revert r60023 and really fixed compilation problems caused by r60017 by providing assertEquals(const char *, const char *) overload as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 23:55:05 +00:00
Vadim Zeitlin
599d12919c
allow symmetric comparisons to work too in CPPUNIT_ASSERT_EQUAL (e.g. wxString==char*, size_t==int and not only char*==wxString, int==size_t)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 16:43:36 +00:00
Václav Slavík
197380a09f
always return (owned or non-owned, depending on build) wxScopedCharBuffer from utf8_str() and ToUTF8()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 18:28:42 +00:00
Václav Slavík
38d26d6040
fixes or embedded NULs handling in wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 15:35:47 +00:00
Václav Slavík
a6bb7a282d
fixed size of buffer returned by wxFormatConverter (it was too large before)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 11:54:41 +00:00
Stefan Csomor
ee032c59df
hiding the impl type more again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 07:30:26 +00:00
Václav Slavík
e542e141a3
compilation fix for wxUSE_UTF8_LOCALE_ONLY case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 00:00:15 +00:00
Václav Slavík
1c60f64458
set icons bundle, not single icon, for frames loaded from XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:25:23 +00:00
Václav Slavík
b5c2a33438
wxArtProvider::GetIconBundle() cleanup:
...
* makes GetIcon() and GetBitmap() behave in the same way again (i.e. GetBitmap
falls back to CreateIconBundle too)
* GetIcon() used to call CreateIconBundle() first, before CreateBitmap() - this
doesn't make sense, inverted
* GetIconBundle() falls back to GetIcon() if provider's CreateIconBundle()
doesn't return anything and vice versa: GetIcon()/GetBitmap() falls back to
GetIconBundle() if CreateBitmap() doesn't return anything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:23:59 +00:00
Václav Slavík
cee875e329
add support for loading wxIconBundles from streams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:19:40 +00:00
Václav Slavík
6df09f32fd
added length to wx(Scoped)CharBuffer to improve handling of embedded NULs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:58:39 +00:00
Stefan Csomor
b4ff8b3e4e
adding iphone code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:48:05 +00:00
Stefan Csomor
421bb0184e
adding proper iphone includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:45:45 +00:00
Stefan Csomor
c099b53353
streamlining code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:44:58 +00:00
Vadim Zeitlin
89a7e1ff98
Added wxLOCALE_DATE/TIME_FMT support to wxLocale::GetInfo().
...
- Implement for POSIX and Win32, TODO for OS X
- Use this instead of ad hoc code in wxDateTime::ParseFormat()
- Remove HAVE_STRPTIME, we don't need nor use strptime() any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 17:15:43 +00:00
Stefan Csomor
04ce16a870
bracketing opengl code that doesn't work on OpenGL ES
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 17:13:27 +00:00
Vadim Zeitlin
4c802fdc48
no real changes, jus renames some parameters (see #10594 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 12:38:53 +00:00
Stefan Csomor
6c1f25cc9b
bracketing menu code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-28 16:46:34 +00:00
Václav Slavík
5412c6ad17
variadic macros need specializations for both wxCharBuffer and wxScopedCharBuffer ( fixes #10651 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-28 12:32:06 +00:00
Václav Slavík
3339414ae8
don't duplicate copy ctor and assignment operator code in wxCharTypeBuffer<T>, it was identical to base class' version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-28 09:35:53 +00:00
Václav Slavík
de4983f323
split wxCharTypeBuffer<T> into wxScopedCharTypeBuffer<T> and wxCharTypeBuffer<T> -- the former is for transient data with validity limited to parent's lifetime, the latter is for permanent storage of string data (bug #9638 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 15:33:55 +00:00
Vadim Zeitlin
e06e81194b
no changes, just write a more detailed comment for StripExtension()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 16:02:09 +00:00
Vadim Zeitlin
181dd701fa
implement deprecated wxStripExtension() in terms of new wxFileName::StripExtension() ( closes #10634 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 15:55:01 +00:00
Vadim Zeitlin
4209475ced
detect horizontal overflow in wxHtmlPrintout and warn the user about it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 13:37:37 +00:00
Benjamin Williams
0eefa65979
added ability to set tool alignment ( #10174 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 15:56:23 +00:00
Benjamin Williams
8bc10f3280
added missing getters to wxAuiToolBar ( #10182 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 14:23:14 +00:00
Stefan Csomor
8fa9ac5e09
moving down for non-precomp build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 14:05:36 +00:00
Benjamin Williams
e7b8af652f
fix incorrect application of styles ( #10171 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 13:42:35 +00:00
Vadim Zeitlin
cf58616239
don't crash in wxFAIL and wxCHECK if assertion handler is NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 13:31:38 +00:00
Stefan Csomor
f06e0fea67
focus handling streamlined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 10:24:51 +00:00
Stefan Csomor
43c5b6e808
better native types for carbon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 10:20:11 +00:00
Vadim Zeitlin
c398434d92
abandon attempts to make wxAnyStrPtr behave as bool: user-defined logical operators don't short circuit silently breaking existing code so it is better to not provide them at all; instead simply return bool from the new versions taking wxString::const_iterator; advise to use the new versions in the new code and so in our own files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 09:54:10 +00:00
Stefan Csomor
938fbc8f74
making method properly const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 09:46:08 +00:00
Vadim Zeitlin
b7aadf25fa
compilation fixes for wxAnyStrPtr for VC7; mention it in the change log
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 09:23:30 +00:00
Vadim Zeitlin
c5e8b33639
compilation fixes for wxAnyStrPtr for VC6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 00:44:25 +00:00
Vadim Zeitlin
254696bb8f
return a wxAnyStrPtr covnertible to either narrow or wide char pointer from wxDateTime::ParseXXX() methods to improve compatibility with wx 2.8 and also simplify the code ( closes #9560 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 23:21:29 +00:00
Francesco Montorsi
72516be4ff
fix misc typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 21:11:42 +00:00
Julian Smart
c187b47244
Don't translate panel titles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 19:09:52 +00:00
Julian Smart
5bf3b6fe48
Fixed small alignment issues
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 19:06:19 +00:00
Václav Slavík
52988b5f63
added some clarifying comments to wxCStrData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 17:55:04 +00:00
Vadim Zeitlin
e538985edc
added GetEnglish{Month,WeekDay}Name()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 16:51:10 +00:00
Stefan Csomor
aa6208d975
conforming to new naming convention of starting all port specific methods with the port prefix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 07:56:17 +00:00
Stefan Csomor
6f283573af
adding back API for 2.8 compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 06:58:43 +00:00
Vadim Zeitlin
5b119b8b2e
make wxStringOperationsWchar methods templates too to be able to reuse them with char pointers (and for consistency with wxStringOperationsUtf8)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 23:11:55 +00:00
Francesco Montorsi
ca5016d4dd
make sure that wxProcess always have a valid PID set; add test unit for wxExecute,wxShell,wxProcess based on the code in the console sample; add some more infos/notes in wxProcess docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 16:23:44 +00:00
Stefan Csomor
6331c8c021
textctrl cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 15:32:34 +00:00
Vadim Zeitlin
9053c7b9c1
fix warnings about empty controlling statement in release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 13:10:19 +00:00
Vadim Zeitlin
4d273001f4
added "bool checked" parameter to SetBitmap() too, for consisttency with GetBitmap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 12:07:42 +00:00
Vadim Zeitlin
36f062d3da
modify signature of new wxStreamBuffer ctors to avoid conflicts with the existing ones ( closes #10144 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 10:59:40 +00:00
Vadim Zeitlin
9d2214dd07
don't disable wxLogTrace() at debug levels < 2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 10:42:17 +00:00
Stefan Csomor
7d68e720e7
fixing end-of-file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 09:10:37 +00:00
Francesco Montorsi
7bdb010f17
better docs for wxCmdLineParser (fixes a few typos, adds more comments)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 23:29:14 +00:00
Vadim Zeitlin
5eb34e9eb0
compilation fix for wxMotif and wxGTK1 (of course, it will still crash at run-time, just as for the other ports but hey, it compiles)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 21:42:08 +00:00
Vadim Zeitlin
69e3710eb7
add WXWIN_COMPATIBILITY_2_8 test around another wxLogTrace(wxTraceMask) occurrence
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 20:51:21 +00:00
Vadim Zeitlin
711f12ef2e
made definition of wxUSE_LOG_DEBUG dependent on wxDEBUG_LEVEL and added wxUSE_LOG_TRACE (currently never enabled by default); fix warnings about unused variables after these changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 17:18:07 +00:00
Vadim Zeitlin
8a9464893a
make wxMessageOutput::Output() public to avoid having to call Printf("%s", s)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 17:17:01 +00:00
Vadim Zeitlin
34085a0d4f
deprecate integer trace masks and don't define the methods related to them if WXWIN_COMPATIBILITY_2_8==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 16:00:37 +00:00
Vadim Zeitlin
b895ab50e2
move forward declarations unneeded in wx/log.h to wx/generic/logg.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 15:40:53 +00:00
Vadim Zeitlin
23fb9bf573
define wxUSE_LOG_DEBUG as wxDEBUG_LEVEL and not as defined(__WXDEBUG__)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 15:40:08 +00:00
Vadim Zeitlin
4b6a582bef
replace more __WXDEBUG__ occurrences with wxDEBUG_LEVEL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 12:53:48 +00:00
Vadim Zeitlin
b16f24dd05
correct wxASSERT_LEVEL_2 definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 12:26:17 +00:00
Vadim Zeitlin
99e788d556
use wxALIGN_RIGHT instead of wxTE_RIGHT here too (should have been part of last commit)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 11:18:15 +00:00
Vadim Zeitlin
f1ddb476b1
use wxALIGN_LEFT/CENTRE/RIGHT instead of wxTE_XXX to avoid problems with the latter not being defined in wx/spinctrl.h on non-MSW platforms (see #10621 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 10:55:55 +00:00
Vadim Zeitlin
c218ccee9f
no changes, just wrap long lines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 10:51:26 +00:00
Stefan Csomor
beb2638a99
simpler define handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 09:49:28 +00:00
Vadim Zeitlin
7e4952db83
add alignment flags support to wxSpinCtrl[Double] ( closes #10621 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 09:18:46 +00:00