Commit Graph

7281 Commits

Author SHA1 Message Date
Vadim Zeitlin
042ce4ccba forward Enable() and SetFont() to the labels as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 21:51:11 +00:00
Vadim Zeitlin
052da7d572 added a few more composite functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 21:43:45 +00:00
Vadim Zeitlin
7af99268d4 override MSWGetDefaultBgBrush() to use transparent brush
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:47:01 +00:00
Vadim Zeitlin
d34e375c9c added MSWGetDefaultBgBrush() to allow some derived classes to use transparent brush for erasing background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:44:52 +00:00
Vadim Zeitlin
8da1f9a99e delete children in ~wxWindow dtor and not in the base class ~wxWindowNative as it's too late there (replaces patch 1082605; closes bug 1068000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 17:47:06 +00:00
Stefan Csomor
0842200308 scrolling hack (always move our own scrollbars highest in z-order)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 15:22:49 +00:00
Vadim Zeitlin
70a7bd90f9 large files support for wxFFile (patch 1077980 from Mike Wetherell)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 11:53:53 +00:00
Vadim Zeitlin
14b4c0ff12 gravity for splitter window (patch 1046105)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 11:19:36 +00:00
Vadim Zeitlin
3ea9aa8f0e removed extra class qualifier from inline method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 10:33:51 +00:00
Vadim Zeitlin
e5099bdf4b master setup.h for msvc users
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 10:33:03 +00:00
Vadim Zeitlin
e96ec686d8 never return NULL_BRUSH from WM_CTLCOLOR handler, it doesn't do much for most controls and breaks background erase for a few (slider, static text, static bitmap, ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 00:06:43 +00:00
Vadim Zeitlin
6181cef532 use MSWAlwaysDrawBg() to fix the problem with black background; rewrote/cleaned up the positioning and window creation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:35:41 +00:00
Vadim Zeitlin
19fdd4efb6 helper class for implementing composite controls under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:35:27 +00:00
Vadim Zeitlin
c5c4c31e6c added MSWAlwaysDrawBg() to account for controls such as sliders which must not draw background with transparent brush no matter what
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:34:15 +00:00
Vadim Zeitlin
9688700c97 added wxRectFromRECT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:32:20 +00:00
Vadim Zeitlin
df83b840bb added and documented wxRect::Union(); also moved some methods inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:29:55 +00:00
Robert Roebling
ababa106ae Add SetFocusIgnoringChildren() to wxControlContainer. This
makes corresponding hacks in wxListCtrl and wxTreeCtrl
    obsolete. With docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 12:51:05 +00:00
Vadim Zeitlin
a21d4ad106 really implemented operator==(); reformatted a little
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-10 11:23:16 +00:00
Włodzimierz Skiba
de4b00500f Back to broken comparison until it is not fixed other way.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-10 07:28:25 +00:00
David Elliott
4c683a3021 Wrap wxImage specifics in wxUSE_IMAGE and wxBitmap specifics in wxUSE_GUI.
This allows the code to be used from wxBase with other image classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-10 01:53:31 +00:00
Julian Smart
4e324a3fbf Combobox corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 15:27:54 +00:00
Julian Smart
150e31d208 Added further 'missing' wxTextCtrl-like functions to wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 15:16:51 +00:00
Mattia Barbon
d7ab66a1cb Made wxHashSet compile again. Changed the return value
for insert() t match the one of wxHashMap (and of std::set).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 22:39:17 +00:00
Robert Roebling
78b3b018ce Corrected wxComboBox::GetValue() after a
selection has changed. Added test for
    that to the "widgets" sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 22:08:28 +00:00
Włodzimierz Skiba
917be7ed06 wxPaletteBase introduction. wxPalette::GetColoursCount() in interface of all platforms. wxColourMap definition centralized and 2.4 only. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 17:43:18 +00:00
Włodzimierz Skiba
767e3be0fa Fix to FIXME: better nothing than broken comparison.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 17:17:37 +00:00
Włodzimierz Skiba
ea76a6a5ca Fix to FIXME about using unused Get/SetOptimization.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-07 20:10:40 +00:00
Włodzimierz Skiba
5c750f949f Fix to FIXME removal for dummies ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 17:37:31 +00:00
Włodzimierz Skiba
c5789d1526 Use Get*Box instead Get*Region if you are asking about position and size. And it is enough to have it in base class only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 15:48:50 +00:00
Robert Roebling
16edee16a7 Apply choice patch for proper handling of clearing
wxChoice (it reported a selection value of 0)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 12:47:06 +00:00
Robert Roebling
4e1901b70e Moved the implemtation of the generic and the
native GTK 2.4 file dialogs into one place
   by making wxFileDialog derive from the
   generic variant and by then choosing which
   implementation to use. Later, we'll add
   run-time checks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 20:30:18 +00:00
Julian Smart
bcfced3616 Neither PocketPC nor SmartPhone have SHBrowseForFolder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 18:56:29 +00:00
Robert Roebling
265accbe55 A little documentation about custom events as
per the discussion on the mailing list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 16:30:54 +00:00
Julian Smart
e0f6b731a8 Added flags argument to wxKill and wxProcess::Kill to allow it to
kill child processes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 12:53:25 +00:00
Włodzimierz Skiba
c7dc771115 wxGDIObject is used earlier now so additional #include is required for those without PCH.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 17:31:53 +00:00
Włodzimierz Skiba
84df104241 Fix to FIXME: better nothing than broken comparison.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 15:38:35 +00:00
Włodzimierz Skiba
cb9d5bd07e wxBrushBase between wxBrush and wxGDIObject (class follows wxFontBase model).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 15:31:31 +00:00
Julian Smart
aaf1bbfd62 Fixed memory checking on Unix by removing inlines and apply patch
by Mart Raudsepp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 12:04:46 +00:00
Ryan Norton
2cbfa061b4 Correct mistakes in wxStripExtension - correct wxString::npos. Spurred by 1073642 filefn.cpp StripExtension(wxString &)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 23:55:42 +00:00
Robert Roebling
4ea56379e3 Added support for static (inlined) wxImages with
alpha channel.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 21:33:38 +00:00
Robert Roebling
41b81aed52 Applied Freeze()/Thaw() patch for wxTextCtrtl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 20:52:36 +00:00
Robert Roebling
70dfc4ed70 Compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 19:15:46 +00:00
Robert Roebling
86baa52d22 Applied patch to "correct" hashmap's freeing
of memory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 18:33:33 +00:00
Julian Smart
c86abb56d5 Include "wx/msw/msvcrt.h" for better leak reporting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 14:46:16 +00:00
Włodzimierz Skiba
842215bbb7 Fixed old FIXME about unsigned result of sunstraction + a few changes to be able to compile at the same time wxLongLongNative and wxLongLongWx for unit tests about the same functionality (define wxLONGLONG_TEST_MODE for the build if you want to test it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 21:21:23 +00:00
Włodzimierz Skiba
891479a2da Additional wx*_HATCH styles comment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 18:52:47 +00:00
Włodzimierz Skiba
ab9d0a8ca3 IS_HATCH macro replaced with wxBrush::IsHatch() + source and docs little cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 18:46:20 +00:00
Włodzimierz Skiba
86a9d44545 Include fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-29 12:44:11 +00:00
Robert Roebling
c2740a5aab Dirty hack to prevent double destruction of file dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 22:54:13 +00:00
Stefan Neis
2461cfa0d9 Added support for compiling with wxUSE_STL set to 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 18:39:30 +00:00
Václav Slavík
6120f2fcdb fixed subtle SetDirectory bug re-introduced by latest changes (explained in comment in UpdateDialog); reintroduced UpdateDialog so that fixes like this are kept in single place and affect all ways of setting the patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 10:49:01 +00:00
Robert Roebling
ddf6088b1e Added new Art which GTK+ 2.4 defines and
which we should use.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:23:47 +00:00
Robert Roebling
f1dec25f31 Avoid error message when closing message
dialog with the X field from the WM.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:21:12 +00:00
Robert Roebling
c7f73af494 Make wxTR_NO_LINES default under GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:19:49 +00:00
Robert Roebling
76840ed0db Fixes for file dialog. No longer spits out
GTK error messages.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:18:40 +00:00
Václav Slavík
4ac725a3b3 renamed Render's argument to not obfuscate its meaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 22:40:05 +00:00
Ryan Norton
f44eaed650 patch 1073385
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 20:37:44 +00:00
Vadim Zeitlin
b494e2b008 added missing header needed at least by wxMotif under HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 18:08:29 +00:00
Włodzimierz Skiba
063b752ebc wxProgressDialog needs progress bar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 17:00:31 +00:00
Vadim Zeitlin
2c62dd25cd changed the code to be really sure that exactly one update event is sent when SetValue() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 14:43:54 +00:00
Stefan Csomor
64631e82fd const comparison operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 05:21:32 +00:00
Vadim Zeitlin
1972900ebf define inline stubs for methods even with wxUSE_SYSTEM_OPTIONS == 0 to make it possible to test for system options without #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 21:25:55 +00:00
Ryan Norton
973dc0a8ee prevent function hiding - move NextBackend into protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 19:15:27 +00:00
Włodzimierz Skiba
6bb44116c2 wxUSE_SLIDER=0 fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 16:08:12 +00:00
Robert Roebling
0cf3b5429a Applied patch to stop crashing the tree control
when deleting a selected item. Also does something
   to the inplace edit control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 15:03:28 +00:00
Włodzimierz Skiba
fc84bd0570 Expression simplifications for scaling and inflating.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 14:18:20 +00:00
Robin Dunn
c220a8ec4f More DLL build fixes for wxMediaCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 00:07:45 +00:00
Włodzimierz Skiba
0e871ad039 Fixes for wxUSE_SPIN... == 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 20:08:56 +00:00
Ryan Norton
8f0ff17851 [ 1070686 ] wxOutputStream::Close()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 14:26:10 +00:00
Ryan Norton
95662a8379 Lots and lots and lots of MSVC fixes for archive stuff, some stuff from patch 1071373
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 13:49:43 +00:00
Dimitri Schoolwerth
36b79d445d fixed #includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 12:53:57 +00:00
Vadim Zeitlin
b01a88e050 don't show the status bar after restoring normal view after full screen if it had been hidden all along (bug 1071354); code cleanup: removed unused variables, reduced #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 12:53:34 +00:00
Ryan Norton
ff2b312fc8 dll fixes for media lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 12:46:51 +00:00
Włodzimierz Skiba
1af34108c4 wxCHB<->wxNB flags switch fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 12:02:15 +00:00
Włodzimierz Skiba
61c083e781 wxBookCtrl->wxBookCtrlBase. wxBookCtrl is now most suitable book for given platform. Samples adjustement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 11:45:07 +00:00
Robert Roebling
cffcf831ad Work in progress on printing stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 21:50:31 +00:00
Julian Smart
a75d986396 Licence correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 20:28:28 +00:00
David Elliott
0bba37f51d Fix centering of top-level children of wxMDIParentFrame on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 20:10:53 +00:00
Julian Smart
706fb8932a Changed Rocketeer licence to wxWindows licence, by authorisation
of the copyright holder, Johnny C. Norris II


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 15:55:34 +00:00
Ryan Norton
c5d99d7b5c UNICODE-capatable UTF8 implementation of wxStringXXXStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 05:05:04 +00:00
Ryan Norton
ba8546912d wxTextOutputStream::PutChar and text stream test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 18:26:38 +00:00
Ryan Norton
2c09fb3b8b wxMemxxx --> wxTmemxxx, get rid of wxdocmpxxx impossible case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 17:44:40 +00:00
Robert Roebling
08680429a2 Made wxPageSetupDialog a pimpl implementation.
Added a few clean-ups.
  Added native GNOME page setup dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-20 14:46:25 +00:00
Vadim Zeitlin
1a38c220e1 last commit broke compilation for wxUSE_UXTHEME == 0; fixing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 21:52:18 +00:00
Vadim Zeitlin
9b7d2b81cc added another DoEraseBackground overload (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:50:25 +00:00
Włodzimierz Skiba
e1d6e01c88 Sorting fixes to wxUniv wxCombo/ListBox [part of bug #1040593].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:38:04 +00:00
Vadim Zeitlin
012e1eebae always return solid background for listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:36:23 +00:00
Vadim Zeitlin
a8da30af84 added MSWControlColorDisabled and MSWControlColorSolid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:35:41 +00:00
Vadim Zeitlin
18342f1993 don't set background colour explicitely; no need to handle WM_ERASEBKGND ourselves now that it is done correctly at wxControl level
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:55:34 +00:00
Vadim Zeitlin
5c836c463a refactored code to do brush adjustment for bg drawing in only one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:53:03 +00:00
Vadim Zeitlin
48fa6bd38a replaced OnCtlColor(7 params) with MSWControlColor(1 param)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:40:31 +00:00
Robin Dunn
2b02216951 Give SendSizeEvent a generic implementation. It can be useful on
non-MSW platforms as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:20:01 +00:00
Vadim Zeitlin
9ae8168e5b removed OnCtlColor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:05:12 +00:00
Vadim Zeitlin
21db32c129 added GetCurrentPage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:57:53 +00:00
Vadim Zeitlin
01c500af65 removed (unused) nCtlColor parameter of OnCtlColor(); added MSWControlColor(); implemented it to use tab control background if applicable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:37:42 +00:00
Vadim Zeitlin
caf95d2aef added support for drawing themed background: DoEraseBackground() and GetThemeBackgroundBrush()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:36:45 +00:00
Vadim Zeitlin
8a462d4ee1 added GetIfActive() method returning non-NULL engine only if themes are not only available, but really use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 17:17:00 +00:00
Vadim Zeitlin
978bb48f35 added CompatibleBitmap wrapper class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 16:47:51 +00:00
Ryan Norton
3f5ca6b1c3 part of patch [ 649438 ] Bug fixes from Netscape/AOL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 07:46:34 +00:00
Václav Slavík
9755e73bd9 applied modified patch with native GTK wxFileDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 00:30:24 +00:00
Vadim Zeitlin
38c58c778d don't erase background in wxControl neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 23:20:10 +00:00
Ryan Norton
984b0d8ba7 get rid of singleCustomColour - its not needed. Cleanup/optimize a bit more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 16:35:16 +00:00
Robert Roebling
0be7709e71 Added support for native print preview (GNOME)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:45:40 +00:00
Robert Roebling
6408deedee Added support for alpha channels in interpolated
and non-interpolated image rotation.
  Added helper method for turning shades of grey
    into shades of alpha and a colour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:01:45 +00:00
Włodzimierz Skiba
415a0ff16d 3rd state in checkboxes for wxUniv [closes bug#1040585].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 13:16:41 +00:00
David Elliott
e2eafeff03 Implement toolbar tool clicks. Get rid of wxNSActionCell stuff because
Cells send their action from the view anyway so we'd have no way of knowing
which tool was clicked.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 18:02:56 +00:00
Robert Roebling
2934005d7d Use native printing dialog for wxPrintDialog,
not for setup only as before. It prints,
    but page selection etc. is still an idea


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 16:59:50 +00:00
Stefan Csomor
d5c8817ce5 file name char set string conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 15:14:35 +00:00
Ryan Norton
356c775fcf cleanup OSX native font dialog stuff a bit (it should prob. be an option in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 14:36:10 +00:00
Włodzimierz Skiba
599132d33a eVC3 media fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:51:16 +00:00
Włodzimierz Skiba
226ec5a71a Define wxMediaEvent before it is used. Make OnMediaFinish compatible to wxObjectEventFunction. Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:49:27 +00:00
Vadim Zeitlin
00ba414f7f attempts to suppress C4702 for VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 12:09:17 +00:00
Vadim Zeitlin
bcb251a0c1 small optimization for wxTextCtrl (forgot to commit with textctrl.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 12:06:02 +00:00
Václav Slavík
02c92ad972 modified wxEncodingConverter API to report failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 11:58:24 +00:00
Vadim Zeitlin
8681b0940e restored OnEraseBackground(), we do need it but only for the cases when the window has a non default background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 18:10:48 +00:00
Vadim Zeitlin
e2c49e5cd2 don't always erase the background ourselves as this is incompatible with XP themed appearance (replaces patch 1046164)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 14:43:51 +00:00
Ryan Norton
78450975b2 WXUNUSED warning fixes - unicode compilo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 07:18:22 +00:00
Włodzimierz Skiba
041ae20237 wxUniv use wxBU flags [bug #1040584]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 06:23:57 +00:00
Ryan Norton
ff4aedc554 Massive reworking of wxMediaCtrl code - backend everything, search for backends via RTTI lookup, and more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 23:26:55 +00:00
Václav Slavík
1df61962e8 added system colours and fonts support to XRC (based on patch #1038207)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 21:53:51 +00:00
Robin Dunn
d4808d76f9 The assumption that if SIZEOF_INT is defined then SIZEOF_SIZE_T is too
is not always true.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-13 02:24:35 +00:00
Václav Slavík
281818319b removed unused static variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 21:43:25 +00:00
David Elliott
fc480dc16b Moved wxStandardPathsCF into base library when using CarbonLib or Darwin.
Make wxStandardPathsBase::Get() return a wxStandardPathsBase reference.
Implement it using wxAppTraits::GetStandardPaths() which is overridden by
wxMac and wxCocoa GUI libraries to return a reference to a wxStandardPathsCF.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 21:21:00 +00:00
Włodzimierz Skiba
954ec2763a MinGW fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 14:26:31 +00:00
Włodzimierz Skiba
ceefc965f9 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 14:23:02 +00:00
Ron Lee
0210f37397 Tagged DEBIAN_2_5_3_2 for release testing. Bumped subversion to 2.5.3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 13:09:09 +00:00
Ryan Norton
e05928eb5b fix hiding the other (mac) one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 10:23:22 +00:00
Włodzimierz Skiba
a418b1f3a2 Fix hiding wxMediaEvent::Clone().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 10:13:04 +00:00
Ryan Norton
7a5cebca9b spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 09:53:47 +00:00
Ron Lee
72259e0063 wxUSE_POSTSCRIPT is not a sufficient test by itself for
wxPostScriptPrintNative data.  This is probably still not
100% correct but at least msw builds again for mingw now.

Fixed bogus eof (and removed junk whitespace) from mediactl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 06:52:19 +00:00
Ron Lee
f8a586e08e Cruft cleanup from MJW, strip the tabs out of sound.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 03:30:07 +00:00
Ron Lee
d51253e844 Patch from MJW for ssize_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 03:06:44 +00:00
Vadim Zeitlin
81152407d0 removed 2.0 compatibility stuff (patch 1054261)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 18:59:51 +00:00
Ryan Norton
8bf57c4f2e turn off directshow by default for lib dependancy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 15:26:04 +00:00
Ryan Norton
212945de56 fixup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 15:17:35 +00:00
Ryan Norton
1746bcc5ff get rid of error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 08:06:20 +00:00
Ron Lee
a9decf2374 Remove a(nother) guaranteed build failure until what is it testing
for actually exists..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 07:26:54 +00:00
Ryan Norton
3549217b24 ckconf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 06:00:32 +00:00
Ryan Norton
c8a50408fb setp.h changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 05:58:40 +00:00
Ryan Norton
1a680109ac base wxMediaCtrl files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 05:21:02 +00:00
Robin Dunn
2cbbc68d20 Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 02:28:29 +00:00
Vadim Zeitlin
00375592f9 added ZIP classes by M.J.Wetherell (patch 1030239)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 23:58:38 +00:00
Vadim Zeitlin
588066b7a3 replaced wxStream::GetSize() with GetLength() (still keep the former but it will be deprecated) (second part of patch 1063498)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 21:10:30 +00:00
Vadim Zeitlin
30984deafc new set of fixes for problems due to huge files support: drop wxFileSize_t, use wxFileOffset only, make wxInvalidOffset an int (main part of the patch 1063498)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 21:02:58 +00:00
Robin Dunn
ccfc3219db When using an external scrollbar ensure that the built-in one is set
at minimal values so it won't be displayed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 19:58:49 +00:00
Włodzimierz Skiba
0cd936a4fb wxTreeEvent::Clone() support [patch #1061198].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 19:24:22 +00:00
Włodzimierz Skiba
2549081bd9 Patch #1053364 - combobox shoult not remember position after clearing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 19:17:40 +00:00
Włodzimierz Skiba
5d631b78f8 Warning fix observed in tex2rtf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 19:12:34 +00:00
Vadim Zeitlin
e51b17a1f9 don't define comparison operators for wxString and wx[W]CharBuffer when wxUSE_STL == 1 neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 19:35:33 +00:00
Kevin Hock
55b46fd164 [1001483] Added wxPasswordEntryDialog analagous to wxTextEntryDialog, allows detecting entering an empty string vs. cancel unlike the wxGetPasswordFromUser dialog function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 19:13:15 +00:00
Włodzimierz Skiba
56eee37fc8 wxSizer::Add/Insert now returns pointer to wxSizerItem added and wxSizerItem contains access to its area [Patch #1042571 with minimal tweaks]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 18:33:00 +00:00
Ryan Norton
ca269f77a4 remove fixme and explain unicode characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 03:22:56 +00:00
Włodzimierz Skiba
17dc7ddd7c Remove unnecessary OW recognition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 21:27:30 +00:00
Włodzimierz Skiba
21f8cd6f8b Blind change following observation in wxTextCtrlBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 20:03:12 +00:00
Włodzimierz Skiba
048ba49d87 OW prototypes does not use ints in Unicode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 19:27:13 +00:00
Włodzimierz Skiba
216289a24a Undef GetWindowStyle() after new #include in cmndata.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 19:20:28 +00:00
Vadim Zeitlin
b6339dde8c don't define comparison operators taking wxStrings when wxUSE_STL == 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 18:19:13 +00:00
Vadim Zeitlin
1d6560d796 reverted last commit, still broken for VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 14:43:04 +00:00
Ryan Norton
8c98569888 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 05:17:32 +00:00
Ryan Norton
27cfdc97a4 workback defs for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 00:28:36 +00:00
Vadim Zeitlin
4c2deb19e0 handle volume part of the path correctly in wxFileName(path, name, ext) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 20:11:42 +00:00
Ryan Norton
16cfbafc6a some setup.h changes for wxMovieCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 15:47:57 +00:00
Ryan Norton
52f2f7b2c1 fix for [ 1052989 ] TextCtrl.SetBackgroundColour(wx.NullColour) bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 14:14:10 +00:00
Ryan Norton
3a774635dc allow multiple movie loading as per Julian's suggestion. DOC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 12:22:11 +00:00
Ryan Norton
0568fd59ca add Length, Tell, SetPlaybackRate and GetPlaybackRate - use Connect instead of message maps - on MSW don't assert if the file has no video and only sound - add event for when the movie finishes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 10:56:06 +00:00
Robert Roebling
0ab2de15cb Moved deletion of wxPrintFacory to module.
Added wxWidgets 2.4 backward comp methods
   to wxPrintData which make use of the
   PostScript native print data if used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 10:11:48 +00:00
Ryan Norton
4ad7af2b83 wxMovieCtrl - for playing movies - mac carbon QT 3 MSW-compatable implementation and MSW DirectX7 directshow implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 08:27:51 +00:00
Ryan Norton
24d2b4f5ba fix for [ 1020924 ] wx.Display.IsPrimary is wrong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 00:48:37 +00:00
Ryan Norton
16c0e7305c fix for [ 1042972 ] Keycodes above WXK_START conflict with unicode characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 23:14:16 +00:00
Stefan Neis
175bb578e0 Added wxStandardPaths implementation for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 22:14:04 +00:00
Ryan Norton
f110f39530 [ 955006 ] wxDb query with column information (modded to overload instead of creating a new function)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 20:32:34 +00:00
Ryan Norton
f5fb687186 final cleanup of string conversion with null characters (hopefully :))
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 08:23:50 +00:00
Kevin Hock
b3bb2a7427 Add ability to position and/or center the dialog for wxGetPasswordFromUser like you can for wxGetTextFrom User
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 02:21:39 +00:00
Włodzimierz Skiba
8d8fbb9d1b Simplify wxRect construction at the wxPoint(0,0) with given size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 19:54:29 +00:00
Stefan Csomor
fe3dc50545 Listbox fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 12:50:51 +00:00
George Tasker
e4e4557315 Unicode support
Several error conditions when connecting to databases are corrected


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 21:31:12 +00:00
Václav Slavík
fe593cc504 (hopefully) fixed race condition in installing idle handler (calling wxPostEvent from non-main thread)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 20:04:59 +00:00
Václav Slavík
448c8e496d m_wakeUpTimerTag is not used anywhere, removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 19:13:07 +00:00
Ryan Norton
409a7ba772 slightly nicer workaround for pickier compiler warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 19:07:12 +00:00
Ryan Norton
fd1017cd20 dll dec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 02:58:13 +00:00
Václav Slavík
a78955e377 made it possible to customize wxGenericDirCtrl, such as using checked wxTreeCtrl (patch #1019699)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-03 23:01:57 +00:00
Robert Roebling
cd86bf1e7e Forgot to commit header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-03 20:47:05 +00:00
David Elliott
03ed957a32 Metrowerks CodeWarrior IDE prefix and precompiled header files for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-02 06:22:11 +00:00
Robert Roebling
58c30cd80c Further compile fixes.
Added module so that linking to GNOME printing
    code will install its wxPrintFactory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 23:05:24 +00:00
Robert Roebling
7c72311fe1 Added --with-gnomeprint and its wxUSE_LIBGNOMEPRINT
Removed the now obsolete test for FT2 (FreeType)
    which was used by the Pango based printing which
    I removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 18:40:51 +00:00
Julian Smart
23fba6860a Added missing functions and variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 15:55:14 +00:00
Robert Roebling
2c84e0c259 Added possibility to select a printer reported
by CUPS as a target. Some other corrections.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 15:24:44 +00:00
Stefan Csomor
9543e985ff switching to defines not having a value for __WXMAC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 05:57:25 +00:00
Robert Roebling
b45dfd0a8b Moved the wxPageSetupDialogData <-> native conversion
code for MSW to the appropriate file in src/msw/printdlg.cpp
  Removed the now obsolete printer setup dialog code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 23:43:41 +00:00
Stefan Neis
eebaafb582 Fixed "pragma interface" handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 18:15:53 +00:00
Robert Roebling
93c2f401e9 Moved print dialog data conversion code
from cmndata to its msw place.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 16:34:02 +00:00
Robert Roebling
53fa663af1 Small change to ease Mac transition to common
native data printing code later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 14:59:11 +00:00
Ryan Norton
997ba01b28 restore ConvertToValidURI to prev. version for bw compat. Note changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 20:22:24 +00:00
Ryan Norton
e4e3bbb447 solution to wxMBConv stuff - make a seperate XX2XX for strings of a specified length, use this in wxString instead of previous worst-case method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 20:16:25 +00:00
David Elliott
3b01b1fe4c wxMac uses wxStandardPathsCF to mean wxStandardPaths in its wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 07:41:30 +00:00
David Elliott
c096ba5ea1 Make wxString::WorstEncodingCase take a const wxMBConv&
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 05:33:47 +00:00
David Elliott
726b98e9a1 Added wxStandardPaths for wxMac and wxCocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 21:38:33 +00:00
Ryan Norton
03ff8fda8d Add wxString::WorstEncodingCase, other various cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 21:06:28 +00:00
David Elliott
5185263fc5 Moved wxCFStringHolder and some other string functions to their own files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 18:29:35 +00:00
Ryan Norton
494b978fc1 add some asserts for wxStringBufferLength
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 05:52:16 +00:00
Ryan Norton
ce321570b0 wxURL - doc cleanups, depreciated more methods, more source comments. wxURI - enclosed literal characters with wxT, more source comments, doc cleanups, changed StartsWith(x) to [ou] == x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 22:22:40 +00:00
Ryan Norton
86470d432f final wxURI API changes. Changed Get to BuildURI to better reflect what its doing. Added wxURI::Unescape to unescape characters in a url or uri. Added wxURI::BuildUnescapedURI. Changed the wxURL convertXXXuri methods to use uri methods instead, and depreciated these methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 09:57:43 +00:00
Václav Slavík
cedea72ffa wxKeyEvent::m_uniChar must be copied by operator= too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 08:18:52 +00:00
Ryan Norton
b60b2ec8ac Inherit wxURL from wxURI, providing assignment, copy construction, comparison, and less duplication of code. Change wxURI a bit to meet some of Vadim's reccommendations - move accessors into header, and finish some of his other reccom. Change assignment to use const wxString& instead of const wxChar*. Change wxURI docs to reflect that it inherits from wxObject. Made preliminary docs for the wxURL transition. Add some unit tests for the transition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 06:49:46 +00:00
Vadim Zeitlin
8404931e0d minor cleanup: don't use bool parameters, don't typedef the enums, don't abuse references
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 01:03:38 +00:00
Robert Roebling
01b5396fce Removed Pango homemade implementation and
reinstated old code that uses /Times and
    /Helv etc for printing PostScript.
  Various smaller fixes related to printing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 22:55:30 +00:00
Ryan Norton
dd65d8c830 wxURI. Move Convert/to/fromURI into uri.cpp so that it is compiled in base. Regenerate Bakefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 22:47:26 +00:00
Robert Roebling
ff910433fc Added initial support for GNOME printing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 11:19:30 +00:00
Robert Roebling
6038ec8eaf Next phase of Print Factory code.
Created a mini interface so that the generic
    wxPrintDialog can show a "printer" and a
    "status" line if the print factory wants
    this to be the case.
    Moved some code (print mode) back from the
    PostScript only print data to the general
    print data since it is sort of general.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-26 19:49:59 +00:00
Václav Slavík
6848729f2b prefix symbols with wx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-26 10:32:38 +00:00
Stefan Neis
a66dece0c5 Removed list of modeless windows (apparently no longer needed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 13:46:06 +00:00
Stefan Neis
86dc230162 Fixed handling of modal dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 12:08:25 +00:00
Stefan Csomor
c871c71b9b adding Offset to wxRegion / carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 11:43:07 +00:00
David Elliott
f7ef06022c Fix wxExecute for ports other than wxMac and wxCocoa on Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 07:36:16 +00:00
Vadim Zeitlin
78a9e10da1 updated version to 2.5.3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-23 14:56:35 +00:00
Vadim Zeitlin
37c2aa46d0 fixed VC++ size_t -> int conversion warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-23 13:55:20 +00:00
Vadim Zeitlin
6ce8c562b2 don't use _() as default parameter for wxPrintDialogBase title
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-23 13:10:00 +00:00
Kevin Hock
34621cc5d6 Documentation patch from Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 19:11:07 +00:00
Kevin Hock
1399de550a Removed , from end of enumerated list wxPrintBin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 17:13:35 +00:00
David Elliott
4092a27504 Change friendship so that the base implementation class is the friend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 15:42:16 +00:00
Stefan Neis
21708c7331 Added stubs for OS/2 to new printing system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-21 21:32:57 +00:00
David Webster
b5f10b014c Get rid of the class naming conflict with the base header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-21 17:36:01 +00:00
Vadim Zeitlin
fdd99f154a added wxTextInputStream::operator>>(wchar_t) for compilers which support this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 22:50:03 +00:00
Vadim Zeitlin
4e689ecdb5 update g_isPainting in wxPaintEvent copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 22:10:35 +00:00
David Elliott
85c9f98b50 Rewrote wxSound:
* Get rid of #if wxUSE_SOUND from header.  wx/sound.h checks this already.
* Get rid of pragma interface/implementation. Apple GCC dislikes them anyway.
* Allow source file to use precompiled headers (wx/wxprec.h)
* Include only needed AppKit/Foundation headers, not AppKit/AppKit.h.
* Implement simple constructors inline in header.
* Get rid of m_sndname and m_waveLength instance variables.  They aren't used.
* Add copy constructor (why not).
* Move implementation of byte-array constructor into LoadWAV for consistency
  with UNIX wxSound.
* LoadWAV (what was in the constructor) now properly allocs, inits, and
  releases NSData.  The old code for this was not valid.
* Rename lastSound to s_currentSound.
* Rename isLastSoundLooping to s_loopCurrentSound.
* Ignore the sound:didFinishPlaying: delegate message if it is received
  for an NSSound other than s_currentSound.
* Create should not Stop the current sound.
* Don't use NSBundle to get a resource sound but use [NSSound soundNamed:]
  which will include system sounds.
* Playing a sound synchronously uses wxEventLoop::Dispatch which will
  really block (not spin the CPU like Yield).  The sound is considered
  finished playing when s_currentSound is set to something else.  In order
  to make sure we don't get stuck in this event loop the delegate
  calls wxApp::WakeUpIdle if it releases s_currentSound.
* Have IsPlaying() check to make sure s_currentSound is not nil since
  only messages returning another object or void are allowed to be
  sent to nil objects.

Changes involving retain/release
* Get rid of comment about tricky API, it's not.
* Get rid of isLastSoundInScope. Cocoa has proper reference counting.
* Add SetNSSound which, like the rest of wxCocoa, retains/releases
  appropriately, sets the delegate, and logs when WXTRACE=COCOA_RetainRelease.
* Destructor does SetNSSound(nil) which will always release the NSSound.
  Create and LoadWAV use SetNSSound method like the rest of wxCocoa.
* Make the delegate always release s_currentSound if not (or if done) looping.
  DoPlay sets s_currentSound to m_cocoaNSSound after retaining it so that
  the delegate can always safely release it.
* Stop, like everything else, does not need check of isLastSoundInScope


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 21:04:52 +00:00
David Elliott
1e85b547a5 Added CocoaSetKeyEquivalent() that sets the accelerators. Only implemented
for letters, numbers, and ascii control characters. TODO: up/down/etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 19:18:46 +00:00
Vadim Zeitlin
c87beb79f2 include colour.h (fixes wxX11 compilation under Unix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 17:29:21 +00:00
Vadim Zeitlin
8d8e24dfd7 removed duplicate #include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 17:21:37 +00:00
Vadim Zeitlin
b67c2b8794 use slashes instead of backslashes and quotes instead of angle brackets in all #includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 15:14:46 +00:00
Vadim Zeitlin
871cc651b7 only VC++ >= 7.0 has __COUNTER__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 10:47:28 +00:00
Włodzimierz Skiba
1c6f24145e Correct fix to the compile time assert under OW. Kudos to Vadim to the tip.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 01:20:58 +00:00
Vadim Zeitlin
c320b3e32d initial Unix implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 00:35:26 +00:00
Vadim Zeitlin
edad629344 don't use wxCOMPILE_TIME_ASSERT2, wxCOMPILE_TIME_ASSERT works for VC++ too now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 00:34:40 +00:00
Vadim Zeitlin
ce336c6d76 moved AppendAppName() from MSW to common code; modified it to not double the trailing slash, if any
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 00:34:32 +00:00
Vadim Zeitlin
a39490aee6 removed special definition of wxCOMPILE_TIME_ASSERT2, keep it only for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 00:33:31 +00:00
Vadim Zeitlin
c0fbf9294e define wxMAKE_UNIQUE_NAME so that it works even in VC++ with /ZI (edit and continue) option: use __COU*NTER__ instead of __LINE__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 00:31:58 +00:00
Vadim Zeitlin
9b5d7dfcaf removed unneeded junk copied from MSW port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 23:19:31 +00:00
Vadim Zeitlin
771be77f9a fixed status bar source file name; removed wxUSE_NATIVE_STATUS_BAR; removed generic status bar file from makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 23:17:30 +00:00
Włodzimierz Skiba
ceb3b0d8e2 Warning fix to avoid typecasting with OW elsewhere.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 21:10:42 +00:00
Włodzimierz Skiba
7da60d7c18 OW warning fix. Our compile time asserts warns when used within function and dedicated #pragma seems not influence it so they are moved from functions into global space as near as possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 21:00:17 +00:00
Vadim Zeitlin
8a613d31a3 declaration (only, so far) for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:51:17 +00:00
Vadim Zeitlin
40e8ee374f initial implementation for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:50:06 +00:00
Vadim Zeitlin
6cb5e50b0d switched to using a real class instead of a namespace because of Mac base/GUI problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:49:02 +00:00
Vadim Zeitlin
6bb0970672 extracted LPITEMIDLIST wrappers in a separate header (also [will be] used by wxStdnardPaths)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 16:43:53 +00:00
Václav Slavík
ae688b6468 always use wxStaticCast in XRCCTRL (asserts in case of bad use in debug build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 15:13:11 +00:00
Julian Smart
e0f040b4bb Removed accidentally committed file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 13:42:38 +00:00
Julian Smart
ffecfa5aeb Committed William Osborne's wxPalmOS port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 13:40:30 +00:00
Vadim Zeitlin
d80fc6df55 define __WXOSX__ for wxMac/Cocoa; document it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 09:02:10 +00:00
Vadim Zeitlin
0b75a1e039 fixed include guard after renaming the file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 23:28:41 +00:00
Vadim Zeitlin
48713afd53 - added and documented Get/SetInstallPath() under Unix
- corrected returns values of several functions for Mac OS X


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 23:27:37 +00:00