Commit Graph

10033 Commits

Author SHA1 Message Date
Julian Smart
85d3d198c2 Use font encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:16:11 +00:00
Julian Smart
67339f7d9d Added SetEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 08:26:24 +00:00
Vadim Zeitlin
e94e2d73e1 added default value for GetLocalizedResourcesDir() category parameter, as in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:53:23 +00:00
Vadim Zeitlin
364663aa72 replaced the button suppressing the assert dialog with a checkbox (a slightly modified patch from Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 16:15:01 +00:00
Stefan Csomor
4280b8797f adding raster op hook to graphics context
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:23:42 +00:00
Stefan Csomor
e22cf4b310 adding raster op hook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:15:43 +00:00
Vadim Zeitlin
cc4f194e48 added Get(MultiLine)TextEvent() overloads returning wxSize which are used by wxPackageManager (patch 1595123)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 14:11:15 +00:00
Robin Dunn
d8dd53b239 Fix compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 23:52:54 +00:00
Kevin Ollivier
bb29edfaa2 Allow wxGenericListCtrl to correctly handle Get/SetScrollPos [bug 1584099].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 20:31:25 +00:00
Václav Slavík
7bfe6e3091 destroy IDirectFBWindow in wxTLW dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 13:02:20 +00:00
Václav Slavík
4e1d79d308 implemented wxFontEnumerator for wxDFB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 10:14:28 +00:00
Robin Dunn
c97c995223 Return optimal label width from DrawHeaderButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 23:44:55 +00:00
Julian Smart
07b2748093 Correction to accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 13:50:12 +00:00
Robert Roebling
31383ebcc3 [ 1604925 ] Fix loading MIME types for KDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 13:24:32 +00:00
Mart Raudsepp
4db88d421b [GTK] Do not define *_DEPRECATED macros for the gtk+ stack in preparation of a stable wx release, as we can not
know what functions become deprecated in future releases of gtk+ and co, while the stable wx release should last
the test of time.
We could do some preprocessor magic to automatically define the macros only for development releases (whose minor
version number is odd, not even), but as the releases is close, don't do this at this point, as some compilers
might not like the initial try. I will bring these macros back to HEAD, together with the automation, once 2.8
branches.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 04:10:36 +00:00
Robin Dunn
2dfa37d69e Make room for the focus ring to be visible on Mac.
wxMac fix for resetting the focus to the textctrl when the combo ctrl gets it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 23:11:21 +00:00
Benjamin Williams
d606b6e977 added wxAuiNotebook::Split(); hooked up wxAuiMDIParentFrame::Tile() to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 15:25:59 +00:00
Julian Smart
c3e016e45e Added wxAuiNotebook::GetPageText, GetPageBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 14:55:05 +00:00
Kevin Ollivier
02095058ef Fix SetItemCount bug with adding items, a blind fix for generic control dnd issues, native control impls for GetTopItem and GetScrollPos, and improve the code paths of the drawing color code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 06:52:39 +00:00
Vadim Zeitlin
e8f33d9e11 better fix for scope resolution operator and Borland (bug 1592939): don't use it for struct stat but do use it for functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 22:04:41 +00:00
Vadim Zeitlin
bc4b477910 don't define wxMBFILES for Borland, this breaks compilation with wxUSE_UNICODE_MSLU (bug 1592939) and genereally speaking doesn't make any sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 21:48:21 +00:00
Vadim Zeitlin
d28e0b069f don't use scope resolution operator for Borland in wxPOSIX_IDENT() (part of the fix for bug 1592939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 21:38:31 +00:00
Vadim Zeitlin
189cad73eb include stdio.h to get FILE declaration (bug 1592935)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 21:30:45 +00:00
Vadim Zeitlin
8aa2736f3c don't link with GUI libraries when wxUSE_GUI==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:03:59 +00:00
Chris Elliott
5baaee7c07 fix SF bug 1602033
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 13:16:38 +00:00
Benjamin Williams
793d436530 wxAuiNotebook minor tab art interface cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 17:05:43 +00:00
Julian Smart
486dd03abb Styles now sorted alphabetically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 12:47:53 +00:00
Vadim Zeitlin
54a4121a62 corrected wxTreeCtrl::GetBestSize() for a control with borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 14:54:22 +00:00
Vadim Zeitlin
333d70525c added wxWindow::GetWindowBorderSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 14:52:52 +00:00
Vadim Zeitlin
77c8787c16 move wxIsDragResultOk out of line to avoid problems with DLL-exported inline functions (mingw32 3.4.5 warns about it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 14:08:27 +00:00
Mattia Barbon
be6d15fbd3 Allow building when WXINTL_NO_GETTEXT_MACRO is defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 13:52:12 +00:00
Robert Roebling
5807e60c2a Link fix for GTK 1.2 debug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 11:33:53 +00:00
Robert Roebling
db9febdf41 Actually use new GTK+ native assert dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:55:26 +00:00
Robert Roebling
30c4dd918a Commit FM's GTK+ native assert dialog code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:50:20 +00:00
Robert Roebling
92120c6e89 Override SetLogicalOrigin and SetDeviceOrigin in GNOME
print DC as this will probably be needed to fix the
    printing bug reported recently.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:48:56 +00:00
Mart Raudsepp
f5318dd5d1 Fix code comment: Giuseppe Bilotta tells me that ALPHA does not refer to the blue buffer and glXChooseVisual manual agrees
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:30:42 +00:00
Vadim Zeitlin
c75cc2e832 avoid warnings about missing macro parameters (only given by VC6 apparently) when building as static library and, hence, having passing expmode parameters to various array definition macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 00:56:22 +00:00
Benjamin Williams
1dc6ec2c65 prep flags, code indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 18:24:15 +00:00
Vadim Zeitlin
98018a4b05 limit TLW size to display size in wxSizer::Fit() instead of doing it in wxTLW::GetMaxSize(), this allows creating or manually resizing TLWs to be larger than the display while still avoiding making them too big by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 17:50:52 +00:00
Vadim Zeitlin
bde733b0c6 moved some wxMimeTypeCommands methods into .cpp file from header, this generally makes sense (methods are too long to be inline anyhow) and might also incidentally fix the compilation with -funsigned-char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 13:51:49 +00:00
Benjamin Williams
8d0634abcf removed some members from wxAuiPaneInfo which should not be on the class interface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-22 20:22:27 +00:00
Julian Smart
5c0a71a250 Added setters for print and page data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-22 17:11:53 +00:00
Włodzimierz Skiba
50f65288b1 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:50:19 +00:00
Vadim Zeitlin
1f91072fc8 handlers added using AddHandler() last must have the highest priority (patch 1522807)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:33:14 +00:00
Vadim Zeitlin
a6b7a521a4 fixed typos in last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:30:43 +00:00
Vadim Zeitlin
336d8ae9a3 documentation for wxAppTraits (patch 1518295 from Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:20:18 +00:00
Robin Dunn
bc07ab17bf reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:44:52 +00:00
Robin Dunn
72d5e8d917 better comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:18:35 +00:00
Robin Dunn
9f41bf0eb0 reentrance methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:16:33 +00:00
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
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