Commit Graph

9960 Commits

Author SHA1 Message Date
Benjamin Williams
0a5bb138a7 added missing button state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 20:45:17 +00:00
Michael Wetherell
80e62471ad Change the factory constructor to not use a predefined wxMBConv object as it
prevents global instances of the factories. The predefined converters are
references which may not have been initialised when a global factory's
constructor runs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 14:30:20 +00:00
Julian Smart
7d5232b815 Removed new function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 07:33:19 +00:00
Julian Smart
c7134e1c9c Made new functions non-virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 23:03:18 +00:00
Julian Smart
a7ed48a590 Small bug fixes
Added GetStyleForRange to wxRichTextCtrl
HasCharacter/ParagraphAttributes range now consistent with other functions in wxRichTextCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 15:59:06 +00:00
Michael Wetherell
8120bbc916 Compile fix for the version of VC8 included in the 2003 PSDK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 13:10:56 +00:00
Vadim Zeitlin
2e35565ac8 disable wxGLCanvas for wxMGL and wxDFB which don't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 19:50:59 +00:00
Vadim Zeitlin
c4704dc271 fix conflict with BOOL definition in X11/Xmd.h (bug 1592325); also unified all different BOOL fixes in a single one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 12:01:37 +00:00
Benjamin Williams
ca0d44071c tab ctrl height api fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 07:03:51 +00:00
Vadim Zeitlin
836ddd1883 attempt to disable experimental font dialog for OS X 10.2 (to fix the tinderbox build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 23:34:38 +00:00
Vadim Zeitlin
373d466f85 changed last DrawButton() parameter from bool to int to allow for future extensions (patch 1595264)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 23:34:11 +00:00
Vadim Zeitlin
4b98d13d36 put #if wxUSE_COLLPANE around AddCollapsiblePane() declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 23:18:52 +00:00
Vadim Zeitlin
b9993189cc show all available information in the dialog (somewhat modified patch 1592306)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:43:27 +00:00
Benjamin Williams
9fbb7d80f8 tab sizing and split sizing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 20:32:40 +00:00
Vadim Zeitlin
169147c8be made GetMultiLineTextExtent() const (part of patch 1595123)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 20:06:56 +00:00
Julian Smart
219b657fbe Wine fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 15:54:06 +00:00
Julian Smart
dc484d491b Wine fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 15:39:12 +00:00
Robert Roebling
a82c22998b Applied wxStackWalker improvement part of
item #1591718, [wxGTK] Native assert dialog and optimized stack walker


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 14:33:03 +00:00
Robert Roebling
ac7ad70d4c [ 1590221 ] wxStandardPaths::GetExecutablePath
Required for optimised stackwalker patch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:58:10 +00:00
Vadim Zeitlin
592932859a updated version to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 20:20:58 +00:00
Robin Dunn
037c7b4c7b Some wxCollapsiblePane tweaks:
- Use wxCP_DEFAULT_STYLE
 - Share a single wxCollapsiblePaneNameStr for the native and generic
   versions
 - Use a wxPanel for the pane so tab traversal works in the pane


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 07:32:08 +00:00
Robert Roebling
ccdbdc8936 Added native selection rectangle drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 00:22:20 +00:00
Włodzimierz Skiba
ec02a2f7de stub for wxOS2 region ctor from points.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 20:35:39 +00:00
Włodzimierz Skiba
320bf9ceec Add wxRegion ctor from array of points to wxMGL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 19:58:43 +00:00
Robin Dunn
d036261c45 Add DLL export macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 19:15:47 +00:00
Vadim Zeitlin
e090886060 removed const before WXCOLORREF because (1) g++ 3.1 doesn't like it and (2) it doesn't seem to make sense on an array type (why is WXCOLORREF an array anyhow?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 16:03:03 +00:00
Julian Smart
4d6d8bf4fb Added outline level
Removed unnecessary wxRichTextAttr::CopyTo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 15:48:46 +00:00
Vadim Zeitlin
edff6201ce rearrange tests for long long again to avoid clashes with SIZEOF_LONG_LONG defined by other packages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 15:21:33 +00:00
Benjamin Williams
ce15b45fef factored out CalculateHintRect() from DrawHintRect(); hint fix in auibook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 15:17:11 +00:00
Michael Wetherell
33a702bf70 Remove wxFS_WRITE since it is not available in this release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 09:00:06 +00:00
Benjamin Williams
e7e324bed8 ability to create tab mdi children without activating page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 08:11:01 +00:00
Robin Dunn
25bb1412af Move version number to 2.8.0.0 and rebake the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 02:32:01 +00:00
Michael Wetherell
311b04034e Workaround for BCC 5.5/5.5.1 _wopen bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 22:45:19 +00:00
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