Commit Graph

9977 Commits

Author SHA1 Message Date
Benjamin Williams
003cf4efd2 minor tab theme touch-ups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 22:14:31 +00:00
Benjamin Williams
c5e2ca7c52 wxAuiMDI* now more accurately respects normal mdi event sequence
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 22:06:40 +00:00
Julian Smart
1f65137f8d Some documentation enhancements for wxRichTextCtrl
Comment fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 20:22:33 +00:00
Stefan Csomor
01294df09b adding reverse orientation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 19:48:18 +00:00
Robin Dunn
1cb311851d Correct names of some event binders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 17:58:27 +00:00
Vadim Zeitlin
a49ffb32e2 include widec.h if it's available, it contains declarations of [f]putws() under Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 15:35:09 +00:00
Julian Smart
75a3537ac6 Don't compile rich text handler unless wxUSE_RICHTEXT_XML_HANDLER is 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 10:40:41 +00:00
Benjamin Williams
1750e8e256 mild gradients for the glossy theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 06:49:53 +00:00
Vadim Zeitlin
09f43fd361 override wxUSE_MS_HTML_HELP setting and set it to 0 under platforms other than MSW to fix compilation/linking problems in src/common/cshelp.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:59:27 +00:00
Vadim Zeitlin
a0680daf77 regenerated after the last change of setup_inc.h (changes in comments only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:55:08 +00:00
Vadim Zeitlin
a1584ea142 just a change in comment for wxUSE_MS_HTML_HELP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:49:10 +00:00
Vadim Zeitlin
c969b007c2 define wxUSE_XML as wxUSE_XRC directly instead of using an #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:46:20 +00:00
Benjamin Williams
7564225f8b missing header file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 19:16:40 +00:00
Benjamin Williams
e0dc13d470 wxAuiMDI* patches through images to wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 19:07:52 +00:00
Julian Smart
4e8d95587c Add ctor parameters to match wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 18:51:03 +00:00
Julian Smart
fd4344d64d Added wxRichTextCtrl XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 15:45:11 +00:00
Benjamin Williams
2b9aac3387 wxAuiNotebook bitmaps working now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 15:19:38 +00:00
Julian Smart
42688aea2d Added a couple of text effects
Added style description
Fixed some bugs in style comparison
Fixed extra newline when loading


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 14:05:50 +00:00
Benjamin Williams
f39fddcd9e accessor functions for wxAuiMDIParentFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 10:31:52 +00:00
Benjamin Williams
9b3f654a4c button bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 07:44:07 +00:00
Michael Wetherell
8bb9d852a3 Move the #if disabling wxUSE_STD_STRING for watcom/dmc/vc5 into setup.h so
that users can edit them easily.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 00:09:15 +00:00
Robin Dunn
047fa46b8a Use the native vswprintf on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 20:29:57 +00:00
Benjamin Williams
760d3542ec button bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 20:02:38 +00:00
Benjamin Williams
7e1f1a1328 fixed event processing bug in tabmdi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 12:52:02 +00:00
Benjamin Williams
1114a102d5 fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 10:29:02 +00:00
Julian Smart
623a195ec2 Include winundefs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 09:08:33 +00:00
Benjamin Williams
b0d17f7c3f new default theme for wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 08:10:16 +00:00
Benjamin Williams
3fd8c98854 implemented page close event for wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 15:05:08 +00:00
Benjamin Williams
5d3aeb0f57 wxAuiNotebook has external tab dragging now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 13:44:26 +00:00
Stefan Csomor
8a7e4b38b8 add a header placeholder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 10:23:19 +00:00
Stefan Csomor
48aaa7b651 add a header placeholder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 10:18:13 +00:00
Stefan Csomor
773ccc318e adapting to new inheritance of wxMemoryDC (under MSW only at the moment)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 09:47:20 +00:00
Benjamin Williams
a6b0e5bddd api uniformity between tabart and dockart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 07:09:56 +00:00
Vadim Zeitlin
0643d43cad move WX_GL_XXX constants from wx/*/glcanvas.h to wx/glcanvas.h (this makes them available for wxCocoa too); also only include <windows.h> via wx/msw/wrapwin.h and not directly for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 00:57:46 +00:00
Robin Dunn
a5bbc20278 Revert reentrancy patch (#1573619)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:22:10 +00:00
Robin Dunn
56560c387f Add DLL export macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:20:51 +00:00
Vadim Zeitlin
e09080ec62 use built in VC8 time functions instead of our (almost certainly broken) ones for wxWinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 23:27:15 +00:00
Vadim Zeitlin
3c6fa82663 moved wxCollapsiblePane to core from adv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:03:48 +00:00
Kevin Ollivier
7ac21a6761 Adding label editing to native OS X listctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 19:54:08 +00:00
Stefan Neis
a4e15a8d05 Added deep copy of bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:52:56 +00:00
Robert Roebling
c98826242f Reorder event things a little.
Two callbacks for page change and page changing.
    use signal_connect_after() for page changed event,
      as everywhere else, this should also make it
      possible to select a different page in the
      event handler.
    GetSelection just uses native call.
    Don't use m_skipEvent flag, disconnect from events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:29:28 +00:00
Vadim Zeitlin
c2eb1bc3e9 add wxUSE_ACCESSIBILITY guards (bug 1107297)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:43:58 +00:00
Stefan Csomor
068eb463a4 adding text with background brush
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:41:41 +00:00
Vadim Zeitlin
f7ed09d0c7 define wxMiniFrame at least somehow if the current port doesn't define it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 13:01:30 +00:00
Vadim Zeitlin
1ffc8d7a55 define arrays of chartoo as the existing ones can't be used to store char values (bug 1572314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:51:01 +00:00
Vadim Zeitlin
e8a147a6c3 invalidate best size of the book controller too when the pages are added/removed, this fixes a lot of sizing problems with treebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:20:09 +00:00
Vadim Zeitlin
17cb6ff641 use Alloc() in WX_PRE/APPEND_ARRAY (part of patch 1590194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:15:19 +00:00
Stefan Csomor
ad66794547 adding measuring contexts, streamlining printing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 07:50:06 +00:00
Vadim Zeitlin
580ca0a4e1 wxAnimationCtrl fix to display inactive bitmap at start (patch 1590192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 22:16:51 +00:00
Vadim Zeitlin
305329c2f1 use wxNullFont instead of *wxNORMAL_FONT as default parameter for wxFontPickerCtrl/Widget, this fixes compilation with gcc 2.95 and possibly other old compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:54:13 +00:00
Vadim Zeitlin
5ffa72f49f use wxEMPTY_PARAMETER_VALUE to ensure that nested macro calls get correct number of parameters even when expdecl passed to the outer macro is empty (as happens in static builds)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:37:08 +00:00
Michael Wetherell
b158be6e47 Use hash<long> instead of hash<wxLongLong_t> when they are the same size
since even some 64-bit compilers have a problem with it, it seems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:32:39 +00:00
Vadim Zeitlin
01df01eb19 added IMPLEMENT_VARIANT_OBJECT_SHALLOWCMP(classname) macro for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:25:59 +00:00
Vadim Zeitlin
bde626ce30 don't define EMPTY_PARAMETER_VALUE macro without wx prefix, this is an invitation for name clash; instead define wxEMPTY_PARAMETER_VALUE and use it in both variant.h and event.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:06:57 +00:00
Vadim Zeitlin
99d625fc6a don't use native GTK implementation in wxUniv builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 19:26:15 +00:00
Vadim Zeitlin
067c050c8e blind compilation fix: include wx/window.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 19:22:38 +00:00
Julian Smart
fcdc9f6e1f Mac wxODBC fix from Jose' Cruanyes Aguilar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 10:55:20 +00:00
Michael Wetherell
ec2f62b19d Use the standard hash<wxLongLong_t> on 64-bit machines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 21:48:56 +00:00
Benjamin Williams
01372b8f09 implemented wxAUI_NB_WINDOWLIST_BUTTON and wxAUI_NB_SCROLL_BUTTONS in wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 20:27:38 +00:00
Kevin Ollivier
a6c82d64ce Sizing fixes for generic control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 18:17:24 +00:00
Benjamin Williams
0ce53f3226 wxAuiNotebook window styles implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 14:16:59 +00:00
Julian Smart
4f32b3cf15 Style application fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 13:19:07 +00:00
Benjamin Williams
41b76acdc7 various close-button styles implemented in wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 13:06:42 +00:00
Julian Smart
bcf881efa9 Moving GTK+-specfic function - it shouldn't be in public headers
because it then becomes impossible to include in app without adding
further include paths


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 09:51:49 +00:00
Vadim Zeitlin
86e75e59ab removed inline from the method which is not inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 21:37:00 +00:00
Benjamin Williams
8856768e6e fixed bad rename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 20:02:40 +00:00
Benjamin Williams
00c1c94cda while we're at it, rename wxAuiFloatingPane to the more correct wxAuiFloatingFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 19:13:58 +00:00
Benjamin Williams
a3a5df9d92 wxaui big class rename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 18:51:44 +00:00
Benjamin Williams
37106ab28e wxaui maximize/restore button patch from Aleksey Sanin (many thanks)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 17:43:51 +00:00
Benjamin Williams
702b1c7e8a wxaui notebook style flags added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 17:10:58 +00:00
Robert Roebling
b94db696c2 Make wxDataViewCtrl compile and work in ANSI mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 15:24:48 +00:00
Vadim Zeitlin
f24a3804a8 do not include <windows.h> directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 14:35:55 +00:00
Vadim Zeitlin
0545fc014a also disable/reenable warning 4100 (unreferenced formal parameter) for VC5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 14:16:42 +00:00
Vadim Zeitlin
fae803f27b fix for longlongHash for architectures where sizeof(long long) == sizeof(long)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 14:08:04 +00:00
Robert Roebling
175fd114d3 wxMiniFrame's default style is without closebox on
wxGTK and wxMSW, and now on wxMAC as well.
  Document that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 12:26:12 +00:00
Robert Roebling
c5bad6049f FRM's small wxSize::Scale enhancement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 12:21:36 +00:00
Robin Dunn
2bf8f4c0d5 Implement deep copy of wxBitmapRefData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 03:23:35 +00:00
Robin Dunn
3754c85628 Switch wxBufferedDC to use a wxBitmap* internally, so it doesn't
increment the refcount of the bitmap refdata, and so it doesn't do a
copy on write.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 02:07:36 +00:00
Vadim Zeitlin
39b0ab4a4c implement proper bitmap copying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:36:32 +00:00
Stefan Neis
459f812bad Generalized compilation fix for old compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:16:01 +00:00
Stefan Neis
cd7ff8087b Dummy implementation for copying bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:01:32 +00:00
Robert Roebling
b21f4960b1 Return SetSizeHints() in wxWindow to its former
life but still recommend to use SetMinSize()
    and SetMaxSize(). I've already purged wxWidgets
    of any use of this function internally, but
    others may use it still.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:14:28 +00:00
Robert Roebling
ac7d3dd157 Commited region iterator fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 22:48:38 +00:00
Vadim Zeitlin
0bb222915e always define our HKPD/CC/DD constants, without using WINVER which is irrelevant anyhow (only run-time version matters, not compile-time)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 17:29:55 +00:00
Vadim Zeitlin
155e46c2ed no changes, just resolving conflict with Julian's change which was almost exactly the same as mine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:39:07 +00:00
Julian Smart
c746b74707 Initialise all variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:34:58 +00:00
Julian Smart
79f82e1f66 wxWinCE compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 15:07:00 +00:00
Vadim Zeitlin
1b7c01c976 fix wxBitmap mask copying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 14:43:04 +00:00
Benjamin Williams
22fec94aa9 aui docking works well on systems with solid window dragging turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:12:36 +00:00
Vadim Zeitlin
d408730ce4 ensure that wxToolBar has one of wxTB_TOP/LEFT/RIGHT/BOTTOM styles set, otherwise the latest toolbar positioning code breaks down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:09:08 +00:00
Vadim Zeitlin
7aa920b5a5 blind compilation fixes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:02:36 +00:00
Benjamin Williams
08c068a4eb aui notebook real-time dragging implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:59:36 +00:00
Benjamin Williams
2fadbbfd12 aui notebook pages can be moved around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:16:39 +00:00
Robin Dunn
170acdc90e GetBestFittingSize --> GetEffectiveMinSize
SetBestFittingSize --> SetInitialSize
SetBestSize  --> SetInitialSize
SetInitialBestSize --> SetInitialSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:50:17 +00:00
Vadim Zeitlin
1e0e7f7d0e define wxTC_MULTILINE explicitly as wxNB_MULTILINE is not necessarily defined where it is used (e.g. msw/tabctrl.cpp); change the value of wxTC_OWNERDRAW to avoid conflict with wxTC_MULTILINE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:47:16 +00:00
Benjamin Williams
26da5e4f5a aui: allow m_frame to be null in wxFrameManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:02:56 +00:00
Vadim Zeitlin
dd21c82639 make wxBitmap *really* ref counted in X11; some cleanup of bitmap code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 01:24:10 +00:00
Vadim Zeitlin
5c9d9745fe partly successful (i.e. previously it didn't work at all and spewed Pango warnings and now it just doesn't work) attempts to fix drawing text on wxMemoryDC in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:59:06 +00:00
Vadim Zeitlin
0797d64777 forcefully disable wxUSE_STD_STRING and wxUSE_STL for Digital Mars and Open Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:09:39 +00:00
Vadim Zeitlin
ba518e2cb9 added wxUSE_COLLPANE (why is this file not generated, again?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:44:18 +00:00
Vadim Zeitlin
c16db850cd compilation fixes after adding wxMemoryDCBase::Init(): renamed wxDC::Init() in wxDFB to DFBInit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:42:34 +00:00
Vadim Zeitlin
d34ad9ea89 a better compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:23:22 +00:00
Robert Roebling
14f4cead9d Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:12:39 +00:00
Vadim Zeitlin
a3ab1c1801 renamed IsRefTo() to IsSameAs() (do complain if this is not more clear) and
changed its signature to take a const reference instead of a pointer which
simplifies the code and makes it safer as well


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:03:53 +00:00
Robin Dunn
34424e1e7f another compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:27:35 +00:00
Robin Dunn
8c6686ef7b Add DLL export macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:09:47 +00:00
Robin Dunn
2e57368359 Some compile fixes.
It sure would be nice if big complicated patches could be tested (or
at least compiled) on all the core platforms before being checked in,
especially in last-minute crunch times.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:56:25 +00:00
Vadim Zeitlin
c319bc4734 include wx/bitmap.h as we use wxBitmap here now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:51:19 +00:00
Vadim Zeitlin
5a70d3f578 remove just added wxCoordRound() (see patch 1586499)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:34:25 +00:00
Vadim Zeitlin
912c39325b Various wxCollapsiblePane enhancements (re-patch 1577412):
1. wxUSE_COLLPANE added
2. XRC handler added
3. flicker fixes for the generic version
4. sizing fixes for GTK+ version
5. RTL fixes for the generic version (via wxBoxSizer)
6. better appearance under Mac for the generic version


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:08:17 +00:00
Benjamin Williams
a4c8fc2374 aui notebook sizing calculations streamlined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:07:52 +00:00
Vadim Zeitlin
fea35690f1 Added wxMemoryDC::SelectObjectAsSource() and make SelectObject() unshare
the bitmap to ensure that no other bitmaps are modified; also remove some code
duplication by introducing wxMemoryDCBase (patch 1580745)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:41:46 +00:00
Vadim Zeitlin
4e124582c4 no changes, just wrap long lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:30:53 +00:00
Vadim Zeitlin
55ccdb93e4 COW cleanup patch (1583966):
1. perform deep comparison for the classes for which it makes sense in the
   ports where this wasn't done yet
2. remove (shallow) comparison operators for the classes for which it does
   not make sense (such as wxBitmap)
3. makes wxBitmap use COW on all ports
4. adds wxObject::IsRefTo()
5. centralizes and improves COW docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:26:48 +00:00
Vadim Zeitlin
8d1517cef2 use explicit virtual keyword with overridden virtual methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:14:13 +00:00
Robert Roebling
cbc82a22cc Removed GetAdjustedBestSize().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:20:33 +00:00
Julian Smart
6a81734334 Copy constructor warning elimination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:15:31 +00:00
Julian Smart
ea160b2e92 Reuse wxCaret object
Add page break specification
Optimize drawing after character input


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:51:38 +00:00
Benjamin Williams
4953f8cf3b wxaui notebook tabs can scroll; notebook themability improved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:34:05 +00:00
Vadim Zeitlin
0f11c23345 generate wxEVT_COMMAND_TEXT_COPY event in wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:18:45 +00:00
Vadim Zeitlin
c63312c472 GetCurrentSelection() was documented but not present in all ports (just MSW and GTK); moved it to the base classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:04:27 +00:00
Vadim Zeitlin
e6efee0079 need to include wx/msw/private.h to get GetHwnd() which is used here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 15:37:42 +00:00
Robert Roebling
cda5834e9d Moved overridden SetMinSize() to base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:25:00 +00:00
Robert Roebling
a1b05a60e1 Make SetMinSize() and SetMaxSize() virtual so they
can be overridden in wxTLW to set WM hints.
  Actually did that for wxGTK, nothing required for
    wxMSW, no idea about wxMac.
  Documented this in tlw.tex.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:18:35 +00:00
Włodzimierz Skiba
e0137813dc Keep buildable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:45:02 +00:00
Václav Slavík
561955046e moved wxScrollBar geometry methods out of wxRenderer, they are common for all themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:33:25 +00:00
Václav Slavík
6236b8b477 renamed wxControlWithArrows::HitTest() to HitTestArrow() to avoid conflict with wxWindow::HitTest()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:24:13 +00:00
Michael Wetherell
a7f958f2d8 Moved to include/wx/private/fileback.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:16:21 +00:00
Włodzimierz Skiba
ce7208d49d Minor header cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:56:12 +00:00
Vadim Zeitlin
89fd8148ce define wxLongLong_t as long long if it is supported, only fall back to long otherwise as we want to be able to pass wxLongLong_t to the standard C99 functions working with long long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:29:56 +00:00
Julian Smart
a387938f80 Applied patch [ 1586964 ] Getting the PID of the process executed by wxProcess::Open()
by Lauri Nurmi


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 09:03:18 +00:00
Stefan Neis
4a4bf7eefb Compilation fix for old GCC versions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 08:07:51 +00:00
Julian Smart
82972e922e Don't use wstring for MinGW versions that don't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 07:04:07 +00:00
Kevin Hock
286f4413dd Non pre-comp compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 04:36:44 +00:00
Stefan Neis
9d8f813841 Renamed m_clientData member variable to avoid clash with variable with same
name in wxEvtHandler which wxSimpleHtmlListBox derives from.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:57:13 +00:00
Vadim Zeitlin
2e96098220 Borland needs dummy return in wxSEH_HANDLE as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:42:16 +00:00
Vadim Zeitlin
80475016d1 set wxUSE_STD_STRING to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:16:08 +00:00
Stefan Neis
be4da8f031 Fixed typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:57:25 +00:00
Julian Smart
664f15dc8e Digital Mars needs CCS_RIGHT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:46:32 +00:00
Michael Wetherell
5f77e766a3 Make m_typeflag an int.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:31:26 +00:00
Julian Smart
8871035d85 Digital Mars doesn't like the identifiers being declared later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:01:06 +00:00
Vadim Zeitlin
9eb11d19b1 escape special SQL chars in where clauses (patch 1204728)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:49:37 +00:00
Chris Elliott
f9e5b1c786 fix borland header difference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:44:32 +00:00
Vadim Zeitlin
894057d1dd don't override GetMinWidth/Height() which are non-virtual any more, override GetMinSize() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:39:31 +00:00
Vadim Zeitlin
b43503410c return the results of GetMin/MaxSize() from GetMin/MaxWidth/Height(); fix warnings about unused parameters in DoSetSizeHints()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:38:23 +00:00
Paul Cornett
29b7b6caad fix for Borland 5.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:36:43 +00:00
Václav Slavík
a1c3cdc4a2 add events API to wxHtmlWindow (patch #1504493 by Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:26:03 +00:00
Vadim Zeitlin
d8af1bf97d CW8.3+ has ssize_t (patch 1492413)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:17:29 +00:00
Robert Roebling
9a1498b6ea Let wxMiniFrame have the same default flags under wxGTK
as under wxMSW, notably no close box by default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:15:26 +00:00
Michael Wetherell
916af76f40 Make wxBackingFile internal, and remove wxZipFSHander, add a typedef to
wxArchiveFSHandler for compatibilty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:06:45 +00:00
Stefan Csomor
b2d123f142 subrect blit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:43:25 +00:00
Stefan Neis
7b44d740f5 Add method declaration needed for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:19:58 +00:00
Robert Roebling
9379c0d752 Make wxWindow::SetSizeHints() do nothing.
Make wxTLW::SetSizeHints() set the various m_minWidth etc. fields.
  Override SetSizeHints() in wxGTK to call the relevant gtk funcion
    only there and not in every resize.
  Make GetMinWidth() etc. non-virtual.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:17:00 +00:00
Vadim Zeitlin
7a9763046b added wxTB_RIGHT style for right-aligned toolbars (slightly modified patch 1567469)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:12:52 +00:00
Vadim Zeitlin
3af706cc31 added TGA handler (somewhat modified patch 1393912)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:58:25 +00:00
Robert Roebling
dd761d262a Forgot one wxCoordRound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:09:42 +00:00
Robert Roebling
d4628b41c9 wxRound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:08:50 +00:00
Robert Roebling
5f3c1f2e29 wxCoordRound() -> wxRound()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:07:27 +00:00
Stefan Neis
21d3d3424b Corrected includes for wxGTK under OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:59:19 +00:00
Robert Roebling
0e1ea39668 wxCoordRound -> wxRound.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:55:09 +00:00
Robert Roebling
2ac9bfa9b0 Use wxRound instead of wxCoordRound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:50:39 +00:00
Julian Smart
781609f290 Applied patch [ 1583316 ] set media source for printing
by d2walter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:29:40 +00:00
Julian Smart
6445acc783 Applied patch 1586499: wxCoordRound function
Centralises rounding and adds nearest-value rounding to
prntbase.cpp.
by Robert J. Lang


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:01:34 +00:00
Michael Wetherell
6ea48c514e Change GetC to return an int so that it can return wxEOF on error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:00:07 +00:00
Julian Smart
5c746f384e Borland fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 16:48:41 +00:00
Michael Wetherell
489a164c1c Rename wxSTREAM_FILEEXTENSION to wxSTREAM_FILEEXT.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 16:47:20 +00:00
Vadim Zeitlin
f49ad976f4 use wxPOSIX_IDENT() for consistent handling of underscores in POSIX functions names in Windows compilers standard headers; this should hopefully fix the compilation for older Borland versions without breaking it for anything else; also define wxFsync() for Borland and DMC as they seem to have _commit() too (subject to version checks...), only Watcom seems to lack it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 13:55:52 +00:00
Stefan Csomor
d888a332db GetAsBitmap with subrect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 10:46:49 +00:00
Stefan Csomor
2b73854d7a forgotten commit for having native affine matrix ops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 10:41:13 +00:00
Stefan Csomor
c59abe0376 extend GetAsBitmap with an optional subrect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 10:39:40 +00:00
Michael Wetherell
6df6e35a3e Fixes for semicolons, commas and wxSTRING_MAXLEN from Wlodek Szafran.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 07:37:09 +00:00
Kevin Ollivier
c64c9cd3ba Added wxDC::GetAsBitmap, and implemented wxWindowDC::DoGetAsBitmap on OS X, in order to restore the ability to blit the contents of those DCs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 05:29:04 +00:00
Robin Dunn
0b13400f4f Add export macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 02:26:37 +00:00
Vadim Zeitlin
34f90a1cfe added NZST and NZDT time zones (request 617912)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 00:05:56 +00:00
Robin Dunn
2add9e3c2f Moved version number to 2.7.2.0 and rebaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 21:54:52 +00:00
Benjamin Williams
488e50ee50 fixed some compiler warnings in wxaui
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 18:27:42 +00:00
Benjamin Williams
b6418695ca wxaui multi-book prep work for left/right buttons on tab bar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 18:21:11 +00:00
Vadim Zeitlin
d6718dd17b added wxString::ToLongLong() and ToULongLong() (feature request 1290937)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 16:46:03 +00:00
Vadim Zeitlin
ea960ae8af no changes, just a typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 16:39:45 +00:00
Benjamin Williams
3f69756e3d wxaui multi-notebook now uses a tab art provider which allows for dynamically switchable notebook themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 15:20:10 +00:00
Vadim Zeitlin
7788fc4046 Alloc() doesn't clear the array any more, for consistency with reserve()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:16:20 +00:00
Vadim Zeitlin
84498436c9 no real changes, just renamed the header guard to standard form and removed unneeded casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:11:54 +00:00
Vadim Zeitlin
13874b5c7f deprecate wxSTRING_MAXLEN in favour of wxString::npos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:06:27 +00:00
Vadim Zeitlin
01c3ebb80a added missing dlldecl for wxFSHandlerHash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:03:53 +00:00
Vadim Zeitlin
9c71a1386d allow customizing the string values returned by wxGridCellBoolEditor::GetValue() (feature request 1557790)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 13:57:38 +00:00
Stefan Csomor
a4e73390a6 moving path and matrix to refcounting as well, switching filling rule default to odd-even as dc.h does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 13:46:46 +00:00
Julian Smart
85d8909ba3 Corrected a clearing bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 09:29:07 +00:00
Vadim Zeitlin
e7fbaf0efd fix VC warning about forward declaring struct as class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 00:28:41 +00:00
Vadim Zeitlin
c26d982b4b removed hard TAB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 00:20:47 +00:00
Michael Wetherell
f068697b46 Add wxArchiveFSHandler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 22:10:19 +00:00
Michael Wetherell
5410f5728d Tidy up includes and #if wxUSE statements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 22:03:29 +00:00
Robert Roebling
5b5210ba36 Indicate that EnableCloseButton is virtual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 20:05:47 +00:00
Robert Roebling
4427c0a3ff [ 1585858 ] Fix wxDatePickerCtrlGeneric and wxComboCtrl kb navigation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 18:02:21 +00:00
Robert Roebling
34e2d9439b [ 1585270 ] Further fixes to wxPathList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 17:59:32 +00:00
Michael Wetherell
77b5dc955b Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:30:01 +00:00
Stefan Csomor
2c82040626 changing graphics pen, brushes and fonts to be refcounted objects, having no subclasses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:21:27 +00:00
Michael Wetherell
45c64b28ba Compile fix for --enable-stl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:14:54 +00:00
Michael Wetherell
46b15bd575 Missing exports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:06:46 +00:00
Václav Slavík
687b91d266 compilation fix: wxGenericCollapsiblePane needs wxButton and wxStaticLine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 13:08:05 +00:00
Julian Smart
f415cab9ef Robert Lang's patch [ 1583183 ] Fixes printing/print preview inconsistencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 13:07:40 +00:00