Commit Graph

9884 Commits

Author SHA1 Message Date
Robin Dunn
4e2251ecd3 Get/Set LayoutDirection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:09:58 +00:00
Robin Dunn
d6f582e704 Add wxOverlay
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:07:14 +00:00
Kevin Ollivier
6df8705880 Allow spell-checking to be turned off with the MLTE implementation of wxTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 07:08:40 +00:00
Václav Slavík
d7ae4a6264 moved wxMGL's font management code to common so that it can be reused by wxDFB; implemented wxDFB part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 20:45:57 +00:00
Václav Slavík
cd4e5a4998 fixed to remove wxFontRefData as intended and not wxFontData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 16:30:09 +00:00
Václav Slavík
873fd4af5f don't expose M_FONTDATA in public header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 16:14:01 +00:00
Julian Smart
ff76711fbe Fixed a bug setting caret position after setting or clearing selection
Implemented forced line breaks within a paragraph, entered with Shift-Return.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 11:33:44 +00:00
Michael Wetherell
0441868f08 Compile fix for --disable-ffile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 22:04:53 +00:00
Vadim Zeitlin
b5f842a902 assert if wxCAL_SEQUENTIAL_MONTH_SELECTION style is changed after creation as this doesn't currently work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 20:01:51 +00:00
Benjamin Williams
cf37c9a90d allow programmatic access to start pane dragging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 18:10:18 +00:00
Vadim Zeitlin
670048b2f0 set/get validator for wxTextCtrl part of wxComboCtrl and not the combo itself (patch 1599214, closes bug 1598600)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 14:44:30 +00:00
Michael Wetherell
5c80cef4bf wxArchiveFSHandler switches on simulated seeking for compatibility with
previous versions. Still overridden by wxFS_SEEKABLE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 02:11:40 +00:00
Julian Smart
12cc29c56a Small cleanup.
Set caret position when calling SetSelection.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 22:27:48 +00:00
Robert Roebling
1bd2ceb57b [ 1598659 ] make wxAnimationCtrl::SetInactiveBitmap center given bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 17:46:29 +00:00
Vadim Zeitlin
06ad6296a6 rename bICON (see rev 1.47) to wxICON_AAA to make it alphabetically first among wx icons but not among all application icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 16:46:59 +00:00
Václav Slavík
fa28b00cdc don't use priviledged calls in wxDFB to allow concurrent use of the display by >1 wxDFB apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 13:17:35 +00:00
Robert Roebling
649707a506 Hopefully fixed misplaced printout in libgnomeprint.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:08:52 +00:00
Vadim Zeitlin
1afdfc9deb - fix wxAnimationCtrl::SetBackgroundColour both for generic and native GTK
version
- fix wxAnimationCtrl::GetAnimation for GTK version (modifying correctly the
  constructor which takes a GdkPixbufAnimation)
- fix the generic wxAnimationCtrl::SetAnimation() when it's used with a
  wxNullAnimation.
- moves the frame counter reset in Stop() as it's more sensed to always have
  m_currentFrame cleared immediately when the animation has been stopped
- fix a problem with transparent bitmaps drawing in wxAnimationCtrl::OnPaint

(part of patch 1598005)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 18:14:42 +00:00
Julian Smart
5912d19ef7 Removed obsolete code
Added some more event types
Added back GetStyleForRange


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 14:28:47 +00:00
Benjamin Williams
4dc79cfb52 added wxAuiManager::GetManager() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 13:07:01 +00:00
Benjamin Williams
254a342953 renamed wxAUI_ART to wxAUI_DOCKART
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 11:28:17 +00:00
Robert Roebling
515a31bf65 Add forceTrueColour option to SetBestVisual().
Currently API only, implement later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 09:29:39 +00:00
Julian Smart
b774c69893 Added wxRICHTEXT_HANDLER_NO_HEADER_FOOTER to allow saving HTML fragments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:40:01 +00:00
Julian Smart
523d2f145e Added wxRICHTEXT_SETSTYLE_RESET SetStyleEx() flag to allow for clearing attributes before setting new ones
SetStyle() now looks up and applies named paragraph or character style
Fixed a bug in text entry (taking previous paragraph's style)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:33:34 +00:00
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