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
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
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
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
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
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
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
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
Paul Cornett
260020e392
various small cleanups
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 17:24:44 +00:00
Robert Roebling
7d61c83f40
compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 13:34:20 +00:00
Robert Roebling
00ff24c81c
Always make wxWindow::SetFocus() focus the window, overriding SetCanFocus, some more focus related docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 10:17:12 +00:00
Vadim Zeitlin
16a6b53ddc
rename wxFileList to wxFileListCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 10:01:00 +00:00
Vadim Zeitlin
8e4b5265cd
declare wxVector<wxXmlResourceHandler *> as DLL-exported to avoid VC++ warnings in shared build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:40:10 +00:00
Vadim Zeitlin
3df485fd5b
define wxUSE_CAIRO as 0 for non-GTK builds to avoid warnings about using undefined symbols in preprocessor conditions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:25:50 +00:00
Vadim Zeitlin
985acf8734
reverted wxSocket changes of rev 48723 as they broke linking under non-Unix systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:22:05 +00:00
Vadim Zeitlin
0cf3e587a2
added new and improved wxFileCtrl implementation (patch 1763164)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:14:34 +00:00
Vadim Zeitlin
b4a11fe85c
don't access m_clientDataItemsType directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:12:13 +00:00
Vadim Zeitlin
131b1fba9d
fix access to client data of wxComboBox in wxUniv by virtualizing access to wxControlWithItems::m_clientDataItemsType
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 23:12:27 +00:00
Chris Elliott
1cffe60012
fix for VC6 sorry
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 17:51:52 +00:00
Chris Elliott
9c9b12747f
fix for VC6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 17:47:03 +00:00
Vadim Zeitlin
22b6de6a70
more fixes for using wxSocket in console applications (patch 1756260)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 14:29:42 +00:00
Vadim Zeitlin
86909f4c89
added XRCSIZERITEM() allowing to directly retrieve the sizer from XRC by name (patch 1782080)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:50:01 +00:00
Robert Roebling
7cec1c9e15
Implement wxWindow::SetFocusIgnoringChildren for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 22:06:22 +00:00
Vadim Zeitlin
c2e4537233
wxX11 compilation fixes after wxTRANSLATE/wxCmdLineEntryDesc Unicode changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 21:23:19 +00:00
Vadim Zeitlin
20a0e99964
get rid of the built-in drop target in rich text controls before setting the user-defined one as otherwise it fails
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 01:09:01 +00:00
Vadim Zeitlin
49297c840b
use wxSafeConvertWX2MB() instead of mb_str() in operator<<(wxString)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:18:56 +00:00
Vadim Zeitlin
d16d0917e4
fix wxMBConvUTF8::cMB2WC/cWC2MB() broken by the introduction of wxMBConvStrictUTF8: as it overrides From/ToWChar(), wxMBConvUTF8 needs to do it (instead of deprecated MB2WC/WC2MB) as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:16:58 +00:00
Vadim Zeitlin
0d5ab92f84
reverted the change of wxCmdLineEntryDesc fields to wxString as this doesn't compile with VC6; make them const char * instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:05:12 +00:00
Vadim Zeitlin
7c77f33480
added WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE() macro and use it to work around VC6 warnings about non DLL-exported templates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:02:09 +00:00
Robert Roebling
aed836f372
Implement and test wxDataViewCtrl::GetColumnPosition() for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 20:30:05 +00:00
Robert Roebling
8d92a3e988
Forgot this one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 19:51:42 +00:00
Vadim Zeitlin
4ec4d8610a
added WXDLLIMPEXP_BASE for a couple of template classes having only inline functions as VC7 still needs them in DLL build if these classes are used as base classes or members of other DLL-exported classes (replaces first two parts of the patch 1779004)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 17:04:27 +00:00
Robert Roebling
d86c187031
API change: a single SELECTION_CHANGED not lots of SELECT and UNSELECT events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 08:59:07 +00:00
Paul Cornett
1d59165194
remove m_blockScrollEvent from wxWindowGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 04:26:33 +00:00
Vadim Zeitlin
ebfc214808
use wxBORDER_NONE as border default for wxStatusBar: this generally makes sense and also fixes the display problem of the status bars under Windows when using themes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 01:08:55 +00:00
Robert Roebling
6d9ecc870a
wxDataViewCtrl patch from Hartwig
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 21:23:48 +00:00
Robert Roebling
453091c269
Add wxDataViewCtrl::GetColumnPosition() stubs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 13:29:19 +00:00
Robert Roebling
21f47fb900
Add wxDataViewCtrl::GetSortingColumn() stubs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:57:40 +00:00
Robert Roebling
b741dd400f
Patch from Hartwig (use new GetChildren() API)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:47:49 +00:00
Robert Roebling
da249bc359
First update patch for GTK+ print
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:23:39 +00:00
Paul Cornett
05787cec0d
remove unused configure tests and macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 06:24:14 +00:00
Paul Cornett
290cd3016c
get more accurate TLW sizing by using a window decorations cache
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 04:36:06 +00:00
Václav Slavík
479647105b
Fixed wxAtomicInc/Dec() to not use asm/atomic.h header on Linux - it's kernel internal, not available for userspace in newer kernel versions and broken for userspace on some platforms. Use GCC's builtins instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:27:15 +00:00
Václav Slavík
eb2d0d232c
use wxVector<T> instead of wxList in wxXmlResource code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:26:39 +00:00
Václav Slavík
bc1d617aac
fix to make 'wxAtomicInt i = 0;' work with generic implementation and gcc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:15:16 +00:00
Václav Slavík
eb096b8eeb
compilation fixes for generic implementation of wxAtomicInt32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 21:52:02 +00:00
Robert Roebling
a931295073
Rewrote scaling for GTK+ print
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 21:35:45 +00:00
Robert Roebling
02255e07d7
Rewrote scaling code for GNOME print backend. The inverted Y axis is now handled internally. Resulotion is not set to 600 dpi
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 14:00:44 +00:00
Vadim Zeitlin
ced3df7730
wxDL_XXX macros and dynamic loading cleanup:
...
1. Clearly document the wxDL_XXX macros; including their implicit usage
of m_ok member variable
2. Made sure they're used in the same way in all places they are used
(sometimes they were passed an object, sometimes a pointer, breaking
compilation: see patch 1791288)
3. Don't allocate wxDynamicLibrary objects on heap unnecessarily (which
removes the need to delete -- or leak, as it was -- them afterwards)
4. Some naming convention fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 10:49:55 +00:00