Commit Graph

6825 Commits

Author SHA1 Message Date
Václav Slavík
b2b4469be1 wxBitmapButton doesn't need own DoGetBestSize, wxControl's one works (fixes sizing bug)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 12:38:21 +00:00
Włodzimierz Skiba
1b941f2d31 Warning fixes for OpenWatcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 05:56:07 +00:00
Vadim Zeitlin
a018a119bd added wxDynamicLibrary::HasSymbol()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 23:20:51 +00:00
Robert Roebling
fd64de596c Renamed wxPrintNativeData methods to better match
those of the preexisting wxMac class. This should
    make transition of the wxMac classes to the new
    wxPrintNativeData classes easier.
  Renamed wxWindowsPrintNativeData to a proper name
    that is less confusing (GetNativeData -> GetDevMode).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 23:00:41 +00:00
Vadim Zeitlin
1ee445c75b added interface for wxFileLocator class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 21:43:08 +00:00
Robert Roebling
8850cbd3c3 First step at moving the print (dialog) native
data into native dirs and cleaning up the code.
   The native part of wxPrintData is now created
   via the wxPrintFactory. I moved the code for
   PostScript to /src/generic/prntdlgg. and for
   MSW to its the respective dir. I only made
   wxMac compile, but it already has a native
   print data class, which should be easy to
   merge.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 17:25:40 +00:00
Stefan Csomor
684e0b31ef __WXMAC_OSBUILDTYPE__ selections are now only defined if they are TRUE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:45:21 +00:00
Stefan Csomor
ca80fdee5e __WXMAC_OSBUILDTYPE__ selections are now only defined if they are TRUE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:36:33 +00:00
Robin Dunn
6636ac1ea9 Use Scintilla's functions for Unicode/UTF8 conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 02:27:22 +00:00
Vadim Zeitlin
d4cace1ccd use common code to determine best notebook size instaed of Mac-specific which mistakenly used current pages sizes and not the best ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 01:00:31 +00:00
Robert Roebling
c061373dc5 Began work on print dialogs. Now wxPrintDialog
is a pimpl implementation of the native
    dialog classes, which are created in wxPrintFactory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 22:11:48 +00:00
Václav Slavík
9a8d8c5a51 don't use m_instanceAsWindow to convert dialog units, it's not fully constructed yet and can't provide the information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 21:52:54 +00:00
Vadim Zeitlin
3db7220e05 unused params warnings (patch 1048431)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 19:41:18 +00:00
Vadim Zeitlin
7561181f03 suppress VC++ warning about long -> void * conversion too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 13:39:45 +00:00
Vadim Zeitlin
7a295dfa5c fixed enhanced metafiles loading from files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 13:31:27 +00:00
Vadim Zeitlin
8fc2f387cd added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 00:45:07 +00:00
Vadim Zeitlin
b4cfe261db implemented SetWildcard()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 22:55:13 +00:00
David Elliott
f1d9e1ec6b wxCocoa: Added wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 22:52:28 +00:00
Vadim Zeitlin
2782282522 use wxPtrToUInt/UIntToPtr instead of (removed) ULong versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 21:10:45 +00:00
Vadim Zeitlin
dffd27ec31 removed pragma interface which resulted in link errors when inline functions from this file were used; remove wxULongToPtr/wxPtrToULong which could truncate the pointer; added wxUIntToPtr in addition to existing wxPtrToUInt (which now takes const pointer) to replace them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 20:58:23 +00:00
Vadim Zeitlin
f12885449a use wxPtrToUInt instead of (lossy) wxPtrToULong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 20:35:39 +00:00
Włodzimierz Skiba
409ded0fc5 Unnecessary wxString(wxString).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 19:50:37 +00:00
Włodzimierz Skiba
9f13661f8b Parts of wxSizer::Show() extracted into wxSizer::GetItem() (together with documentation).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 18:58:52 +00:00
Włodzimierz Skiba
414dfb5804 DMC fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 15:05:52 +00:00
Vadim Zeitlin
1a14587d59 VC++ warning fixes for /Wp64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 13:09:00 +00:00
David Elliott
950432e407 Allow the wxMenu to be owned by the NSMenu so that it can be returned
from methods which Cocoa calls when a menu is to be popped up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 03:06:50 +00:00
David Elliott
3312496dcc Allow the dealloc message to be caught
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 02:55:15 +00:00
David Elliott
d04995b3a6 Use wxObjcAutoRefFromAlloc for sm_cocoaTarget.
Move some processing code from wxMenuItemAction to CocoaItemSelected.
Add Cocoa_validateMenuItem and use it instead of calling IsEnabled directly.
Do not set the target or action for wxMenuItem that open submenus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 01:39:35 +00:00
Vadim Zeitlin
bd3cea7d2c fixed wxFileSize_t definition under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:23:32 +00:00
Vadim Zeitlin
02aef13c07 made Tell/Seek/Length() return wxFileSize_t as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:22:27 +00:00
Vadim Zeitlin
93e0db9a80 added wxFileSize_t, changed types of wxFile methods/parameters once again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:01:00 +00:00
Ryan Norton
af17760d08 Reverted and fixed really broken overcommit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 14:07:27 +00:00
Julian Smart
608754c4a3 Added SetScrollLinesX, SetScrollLinesY so apps can work around scrollbar
appearance problems by setting the scroll increment to e.g. 1
(Scrollbar problems caused by rounding errors - see comments in grid.cpp).
Also removed obsolete functions from reference, rearranged alphabetically


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 10:28:20 +00:00
David Elliott
ccdc365485 Removed empty wxCocoa wxFileDialog implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 03:39:47 +00:00
David Elliott
5de1602ce1 Reverted broken test to determine wxHAS_TASK_BAR_ICON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 03:05:41 +00:00
David Elliott
ec7c50a5ed Removed empty wxCocoa taskbar files and broken files.bkl commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 03:01:44 +00:00
Włodzimierz Skiba
5e233068dc Darwin fixes (OW,BCC,MinGW,DMC tested).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 14:09:48 +00:00
Włodzimierz Skiba
6fb99eb3b7 Semicolon fixes according to Vadim's note about being danger (OW,BCC,MinGW,DMC tested).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 14:04:19 +00:00
Robert Roebling
e81e3883b9 Added new wxPrintFactory code and made wxPrinter
and wxPrintPreview make use of it. BIG CHANGE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 21:07:42 +00:00
Włodzimierz Skiba
e4a4a50b90 Reverted due to Darwin and other conflicts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 20:48:22 +00:00
Włodzimierz Skiba
05689a13cc Reverted conflict with Darwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 20:14:23 +00:00
Włodzimierz Skiba
ecd9653bf3 Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 19:29:12 +00:00
Włodzimierz Skiba
3690202915 Remove old pragmas for avoiding warnings with Open Watcom. They are not working with new build system and have to be passed to compiler through options.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 16:58:44 +00:00
Ryan Norton
926f877be5 compilo fix (blind)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 14:02:57 +00:00
Václav Slavík
984c33c9c7 added \ escaping in XRC (patch 1042675)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 10:23:16 +00:00
Vadim Zeitlin
19b65a3033 wxPuts() should output a trailing newline even in Unix/Unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 23:49:15 +00:00
Włodzimierz Skiba
42841dfcad Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 16:30:43 +00:00
Ryan Norton
e40bae72d4 temp. solution to get unicode to work on 10.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 15:38:05 +00:00
Ryan Norton
f7e98dee7e cocoa doesn't need system framework - string conversion for cocoa - focus for cocoa - a bit of change for string unit tests for new functionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 02:02:30 +00:00
Julian Smart
7c9b17c1d1 SetSizeHints -> DoSetSizeHints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-09 19:19:00 +00:00