Commit Graph

39849 Commits

Author SHA1 Message Date
Vadim Zeitlin
8f6d9cb3f7 use a default URL, I got tired of typing it in the dialog every time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 15:26:06 +00:00
Václav Slavík
f461887a02 don't do char*->wchar_t*>char* roundtrip in wxArgNormalizerUtf8<const char*> if current locale uses UTF-8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 14:34:29 +00:00
Vadim Zeitlin
9d0e03774e make it possible to override desktop detection using gtk.desktop system option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 13:46:33 +00:00
Vadim Zeitlin
dee28fdd4d show the error returned by SmcOpenConnection(); don't call it more than once -- the desktop environment is not going to change while the program is running
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 13:41:36 +00:00
Václav Slavík
8bd37efca7 fixed reverted #if condition around wxDoLogTraceWchar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 13:21:54 +00:00
Vadim Zeitlin
50c95f691c compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 12:30:30 +00:00
Václav Slavík
111d99489d added code for optimized handling of UTF-8 locales: some string operations are more efficient under it and it's possible to completely compile-out support for other locales if the target system is known to only use UTF-8 locales
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 11:05:04 +00:00
Václav Slavík
d1f6e2cfe2 fixed vararg functions with format argument to not use wxString or reference argument (the latter is invalid C++, the former doesn't work with Watcom and produces at least warnings with GCC 3.3)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 10:50:25 +00:00
Václav Slavík
30957174e5 compilation fix for 2.8 compat disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 10:36:08 +00:00
Václav Slavík
8a3bc532fd OpenWatcom has the explicit keyword too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 10:27:05 +00:00
Václav Slavík
d3cefe87d7 added wx[W]CharBuffer/wxCStrData overloads to remaining wxString methods that need them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 10:23:20 +00:00
Václav Slavík
303a585db2 fixed linking in monolithic case if USE_STC=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 09:32:58 +00:00
Václav Slavík
08fa76dc25 fixed linking against wxscintilla in debug build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 09:07:25 +00:00
Roman Rolinsky
610e05a433 fix for testing if a property is in allParams - it must be a sequence
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 07:35:01 +00:00
Vadim Zeitlin
49c9d05986 removed unneeded duplication of DoSetSizeHints() in wxTLWBase (as wxWindow version already does the same thing) and made wxTLW::SetMin/MaxSize() implementation less verbose
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 00:25:46 +00:00
Roman Rolinsky
fdfebc6ac2 style required on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 22:13:51 +00:00
Roman Rolinsky
0d2cd276cc optimized highlighting to reduce flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 22:10:52 +00:00
Václav Slavík
fb2c90cab8 more OS/2 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 20:38:52 +00:00
Václav Slavík
4aae00c69c compilation fix for wxUSE_INTL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 20:35:03 +00:00
Václav Slavík
c8b1fdc0b5 wxAppTraits::SetLocale() is wxUSE_INTL=1 only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 20:32:44 +00:00
Václav Slavík
cb2f2135b0 added convenience functions wxString::To/From8BitData() for storing g binary data in wxStrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 18:08:56 +00:00
Stefan Csomor
8dd37b0326 trying optimal scrolling solution perf-wise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 14:36:59 +00:00
Stefan Csomor
9372787028 trying optimal scrolling solution perf-wise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 14:31:30 +00:00
Julian Smart
f1e589cd3d Corrected swapped descriptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 13:01:12 +00:00
Julian Smart
13b5552592 Corrected swapped descriptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 13:00:28 +00:00
Václav Slavík
76fc401aa5 added test for passing std::string to vararg functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 12:29:32 +00:00
Robert Roebling
04ab8b6ddf Moved all the coordinate system calculation to wxDCBase
and thus removed all the duplicated code in all wxDC
   classes.
  Problematic is that wxSVGFileDC and wxPostscriptDC inherit
   from wxDC and therefore include platform specific code
   (also before this change) so I chose to override all
   SetLogicalOrigin() etc. methods in these classes and
   call their wxDCBase methods thereby circumventing the
   platform dependent code.
  I'm afraid the Mac code will require updating, too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 11:05:45 +00:00
Václav Slavík
1e50d914af made wxConvXXX objects usable at static initialization time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 09:03:03 +00:00
Václav Slavík
1436bf0bed include object.h so that delete has complete type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 07:41:27 +00:00
David Elliott
ba64d0b6d5 Add comments and a debugging aid to Get/SetLabel implementations which are intentional no-ops for wxCocoa.
Copyright Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 07:18:57 +00:00
Paul Cornett
3be926e348 remove miniframe stuff from GtkOnSize(), it's handled by wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 04:16:31 +00:00
Paul Cornett
3f6187f1d3 make File->Exit work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 03:18:18 +00:00
Robert Roebling
3cf279b861 Renamed wxDCBase::LogicalTo ... to wxDC::.. here, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 22:20:56 +00:00
Robert Roebling
621b83d9b3 Made device to logical and vv conversion methods
virtual and implement them like any other method
    in the wxDC classes, not only in the their files
    but somehow belonging to the wxDCBase class.
  This is required for plugging in differnt DC backends
    with different conversions.
  Ideally (and absolutely possible ) all these methods
    should be removed and just the one in wxDCBase
    should stay using values set in the various
    derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 21:28:29 +00:00
Václav Slavík
df08bf5ab3 added inline plural form of wxGetTranslation to wxUSE_INTL=0 case for use with non-default domain too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 21:19:02 +00:00
Václav Slavík
2765cbb5aa define wxPLURAL even if wxUSE_INTL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 21:13:56 +00:00
Stefan Csomor
5cb78ae7c4 adjusting refcount asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 19:34:00 +00:00
Vadim Zeitlin
c3316efa21 clarified alpha support status (bug 1710013)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 14:34:53 +00:00
Vadim Zeitlin
2c17722ec8 fix wxStringOutputStream::Write() in Unicode build when the output overlaps a boundary between UTF-8 characters (closes bug 1701426)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 14:11:06 +00:00
Stefan Csomor
8736cc485b Patch 1708290
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 13:35:00 +00:00
Stefan Csomor
09ac36f80b Patch 1678304
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 11:55:02 +00:00
Stefan Csomor
9fbc9db0fa Patch 1709069
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 11:49:35 +00:00
Stefan Csomor
3cfcae3b4d Patch 1709108
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 11:41:11 +00:00
Roman Rolinsky
c3793e4660 set drop target on panel if present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 23:43:48 +00:00
Vadim Zeitlin
781130bf60 fix m_sizerPage memory leak for the wizards not using sizers (replaces patch 1708331, fixes bug 1647290)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 19:43:28 +00:00
Vadim Zeitlin
97b253782a use a marginally more precise but, more importantly, easier to understand, value for METRIC_CONVERSION_CONSTANT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 16:25:57 +00:00
Vadim Zeitlin
f11af09331 assert that wxRound() argument is in the supported range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 16:23:17 +00:00
Roman Rolinsky
ed650677e1 drag-and-drop with left button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 15:48:42 +00:00
Václav Slavík
48670a3300 always define wxLocaleIsUtf8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 12:46:30 +00:00
Václav Slavík
44be939a5e fixed release build compilation with compilers without __VA_ARGS__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 12:08:01 +00:00