Commit Graph

41415 Commits

Author SHA1 Message Date
Vadim Zeitlin
74f35eea76 part of wxComboBox to wxEntry refactoring (should have been part of rev48952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 16:52:48 +00:00
Vadim Zeitlin
fa2f57be4d refactor wxMSW code to extract parts common to wxTextCtrl and wxComboBox into wxTextEntry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 16:48:46 +00:00
Vadim Zeitlin
d6b9cc87c0 remove wxComboBox-specific hack, override DoSetToolTip() in wxComboBox itself instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 16:23:51 +00:00
Vadim Zeitlin
c282ec4402 compilation fixes for wxGTK1 after wxTextEntry changes (unit test still fails, Replace() generates 2 events instead of 1...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 12:18:00 +00:00
Vadim Zeitlin
5abbb704ba compilation fix for wxGTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 12:17:01 +00:00
Julian Smart
bff023f172 Added forward declaration for wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 06:41:11 +00:00
Vadim Zeitlin
c8fe7fda21 fix harmless unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 00:39:04 +00:00
Vadim Zeitlin
0ec1179b86 added wxTextEntry common base class for both wxTextCtrl and wxComboBox; refactor wxGTK code to put common parts of these classes in the base class; fixed some inconsistencies in the text control behaviour between platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 00:30:22 +00:00
Vadim Zeitlin
c0d9b217a7 added unit test for some of wxTextCtrl methods and its events generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 00:28:31 +00:00
Vadim Zeitlin
232f89100e fix operator<<() for wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 23:22:41 +00:00
Vadim Zeitlin
01e6aa1e2b define wxUSE_GADGETS as 0 as it's not defined in configure and results in warnings during wxMotif build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 16:56:06 +00:00
Vadim Zeitlin
d41ef7b547 fix warning about visibility attribute ignored on non-class types (which was given for wxGetClipboardData only but change the other functions too for consistency)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 16:53:28 +00:00
Jouk Jansen
934960d133 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 2007-09-25 14:39:47 +00:00
Václav Slavík
58fda45507 document that GetAttribute's argument must not be NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 22:29:23 +00:00
Václav Slavík
cc24bf9192 wxXmlNode::GetAttribute's pointer argument must not be NULL, check for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 22:09:06 +00:00
Robert Roebling
728ddc45e0 Reduce width and height of drawing ops by one in all vector printing backends
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 21:07:20 +00:00
Robert Roebling
ed8385818f Fix various minor PS issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 20:42:32 +00:00
Robert Roebling
f62edb0ecd Use line width code from GTK+ print in GNOME print
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 14:04:44 +00:00
Robert Roebling
eb7637b587 Remove several hack from PS code, use high resolution code from GNOME print, invert Y axis internally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 14:04:09 +00:00
Robert Roebling
ab3a145407 Compilation with new dc code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 09:42:22 +00:00
Robert Roebling
d8416992be reorganized wxSVGFileDC code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 09:30:24 +00:00
Vadim Zeitlin
00a77b7c5d added wxWindow::GetPopupMenuSelectionFromUser() (modified patch 1793823)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 23:42:31 +00:00
Robert Roebling
ab171e9502 Converted wxGTK's basic DC classes to new DC code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 11:27:41 +00:00
Vadim Zeitlin
fc1f568e23 don't define wxCRT_xxprintfW function if the corresponding xxprintfw() standard functions are not available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 00:20:35 +00:00
Vadim Zeitlin
8cb1060f1e revert last change (r48897)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 00:14:18 +00:00
Vadim Zeitlin
13f06c1bf0 include wx/log.h to fix PCH-less compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 12:08:23 +00:00
Chris Elliott
6448dc217b add missing sample stc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 11:10:12 +00:00
Robert Roebling
65dd9ae23c Removed last bits of DrawScaledBitmap (was removed part of GTK+ printing patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 09:55:23 +00:00
Paul Cornett
640a91ab0b use logical operator &&, not bitwise &; indentation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 04:40:51 +00:00
Paul Cornett
4c6a2a70dd unused variables, useless assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 04:40:37 +00:00
Paul Cornett
0d8b0f94c0 unused variable, more efficient increment operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 04:40:21 +00:00
Bryan Petty
1219a18740 Corrected doc typo (missing escaped underscore).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 01:30:48 +00:00
Vadim Zeitlin
489bf4ae93 ifconfig under NetBSD also takes -a
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 23:54:07 +00:00
Vadim Zeitlin
fd67d2658b *wprintf() functions should be extern, not static, when we define them in wxNEED_WPRINTF case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 23:50:36 +00:00
Vadim Zeitlin
92ab7bed77 include tif_config.h using <> instead of ""
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 19:56:41 +00:00
Vadim Zeitlin
0272a10d2e bring the new linpng 1.2.20 (without its contrib subdirectory) into trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 18:47:38 +00:00
Vadim Zeitlin
5e60a12a06 remove old libpng 1.2.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 18:45:12 +00:00
Vadim Zeitlin
d0edb9da60 added more convenient wxDL_INIT_FUNC[_AW] macros and use them instead of verbose wxDynamicLibrary::GetSymbol() calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 18:43:51 +00:00
Vadim Zeitlin
22c1dcbb59 made gs_msgXXX variables static
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 18:31:09 +00:00
Vadim Zeitlin
6f9822faf4 allow using wxTaskBarIcon under Win95 by loading Shell_NotifyIcon() dynamically (more importantly, allow applications using to start up under Win95 as they didn't without it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 18:28:04 +00:00
Julian Smart
de414223ab Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 17:53:17 +00:00
Vadim Zeitlin
1032aee2d4 predefine _WIN32_IE before including shellapi.h too to allow tooltips longer than 64 (up to 128) characters in wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 17:51:11 +00:00
Paul Cornett
9356b709aa allow copying wxFormatString for compiler-generated temporaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 16:04:24 +00:00
Vadim Zeitlin
15811f2f67 copy tif_config.h.vc to tif_config.h, this file will be used for all builds not using configure (for configure-based builds the file with the same name in the build directory will be used)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 15:04:16 +00:00
Vadim Zeitlin
24a39c0dd5 use libtiff/libjpeg VC-specific include files for all Win32 compilers, including mingw32 (and even when using configure which is wrong but will be fixed later)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 14:13:15 +00:00
Vadim Zeitlin
710b82f34d removed extra semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:57:30 +00:00
Vadim Zeitlin
a9dce8897e put __attribute__((deprecated)) before declaration and not after it as gcc seems to accept both and doing it like this allows to simplify wxDEPRECATED_INLINE() definition by using the same expansion for all compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:57:07 +00:00
Julian Smart
f07024ee6d Corrected typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:35:31 +00:00
Vadim Zeitlin
a37c8e1cce no changes, just a typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:34:03 +00:00
Julian Smart
1f5cd20ed5 Size of help window tabs reduced to prevent ugly overlap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:30:50 +00:00