Vadim Zeitlin
927637fdaf
allow dynamically changing most of text control styles in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 12:39:52 +00:00
Vadim Zeitlin
403e664e5b
removed empty and unused CalculateScrollbar() method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:39:27 +00:00
Vadim Zeitlin
d63312a977
added a small helper ToggleWindowStyle() function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:10:59 +00:00
Vadim Zeitlin
9ec927f89b
ensure that scroll position is always in scrolling range, otherwise we could have a window without scrollbars at all but with non zero scroll offset which was really strange
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:05:59 +00:00
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
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