Commit Graph

7227 Commits

Author SHA1 Message Date
David Elliott
9d208085a7 Forgot to commit this as part of the CocoaGetWxToBoundsTransform change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 15:02:54 +00:00
David Elliott
4db3c8ac63 Separate NSAffineTransform creation out of wxDC::CocoaApplyTransform into
static wxDC::CocoaGetWxToBoundsTransform.  Create the transform and store
it as a member variable in wxDC when focus is locked on the DC.
For wxClientDC and wxPaintDC call a new wxWindow::CocoaGetWxToBoundsTransform
which will eventually handle scrolling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 14:22:03 +00:00
Włodzimierz Skiba
52f2ad0899 Common wxListCtrl control name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 13:07:44 +00:00
Włodzimierz Skiba
e211b7b106 Common default notebook name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:36:26 +00:00
Włodzimierz Skiba
630ad6c6b6 Common default notebook name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:30:21 +00:00
David Elliott
34c9978dac Add new methods to transform coordinates expressed in Cocoa's bounds rect to
and from those expressed in wxWidgets fashion.  Use these new methods to do
the translation for mouse events, child window position, and dirty rects.
Also improve DoMoveWindow to only dirty the old and new rects of the
control within its superview rather than the entire superview.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 20:51:35 +00:00
Julian Smart
6914b57adc Made some functions virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 13:13:08 +00:00
Jouk Jansen
13973396cb Committing in .
Updates for OpenVMS

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/include/wx/db.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 07:47:40 +00:00
Włodzimierz Skiba
a6fb8636e5 Old API deprecated. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 21:17:16 +00:00
David Elliott
f298b203b5 Renamed the wxWindowCocoaScroller class to wxWindowCocoaScrollView because
it was confusing.  Scroller is the Cocoa term for a scroll bar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 01:55:42 +00:00
Vadim Zeitlin
25b0e7c897 factored out wxGetFullModuleName(HMODULE) from wxGetFullModuleName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 19:43:55 +00:00
David Elliott
d8fdd58fa3 Add constructor and Set taking NSColor.
Change eqauality operator to check if the NSColor objects are the same
instance or if all of the color components (m_red/green/blue) are identical.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 18:37:36 +00:00
Włodzimierz Skiba
eecb33b018 Old API deprecated. Use new and remove old usage where necessary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 17:21:16 +00:00
David Elliott
bf428459fc Added wxMemoryDC::Clear()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 01:52:08 +00:00
Vadim Zeitlin
c50a4038e3 implemented wxIsDebuggerRunning() for Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-08 17:44:46 +00:00
Vadim Zeitlin
6b73af793f made FindWindow() member functions const (this makes it possible to use XRCCTRL() in const methods)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 23:51:04 +00:00
Robert Roebling
e3d64157d7 Added way to specify in generic tree control
if the drop effect (a line) should be drawn
   above or below the item.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 22:31:42 +00:00
Václav Slavík
0c9ff74f05 fixed condition for using #pragmas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 21:27:20 +00:00
Włodzimierz Skiba
2d67974d24 Old API clearly deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 20:03:22 +00:00
Robert Roebling
cf9d4c6766 Added wxFopen to the MSLU code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 18:48:30 +00:00
Robert Roebling
c34db1bee3 Removed useless defines for WinCE which is
always Unicode and never MSLU.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 18:47:29 +00:00
Włodzimierz Skiba
8175d02570 MS Smartphone has no input other than phone buttons which limits pointing on screen. Perhaps in the future.....
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 18:27:43 +00:00
Włodzimierz Skiba
d910fe28f4 Include order fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 18:24:54 +00:00
Vadim Zeitlin
7c7a653bec moved HasTransparentBackground() from wxUniv to common wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 16:54:09 +00:00
Włodzimierz Skiba
b4efc9b931 Old API clearly deprecated. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-06 12:41:27 +00:00
Robert Roebling
4b412d2382 wxEncodingConverter should and can be compiled
without wxFontMapper and its corresponding wxUSE_FONTMAP


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-06 11:53:53 +00:00
Vadim Zeitlin
3b72cd917f don't include wx/msw/wrapwin.h in public header; corrected the m_hDWP type instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 22:46:32 +00:00
Włodzimierz Skiba
1729813a8d Old API clearly deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 19:25:02 +00:00
Włodzimierz Skiba
69c695466d Removed all duplicated and complicated #ifdefs for enabling Skip and Abort in progress dialog (Smartphone fixes).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 18:37:42 +00:00
Włodzimierz Skiba
fa9a4f7f81 Error fix after recent changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 18:32:29 +00:00
Mattia Barbon
ce195ee632 Allow building with wxUSE_PROTOCOL_FTP/HTTP == 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 07:26:40 +00:00
Włodzimierz Skiba
ec157c8f95 Old API depreciated. Use of new API. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 19:35:52 +00:00
Vadim Zeitlin
220f77b0d2 restored using DeferWindowPos() for moving all windows at once (this does help with flicker somewhat) but now call EndDeferWindowPos() from WM_WINDOWPOSCHANGED handler, not WM_SIZE one which is never generated for the dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 18:57:41 +00:00
Mattia Barbon
f5db5af932 Untabify.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 17:41:47 +00:00
Mattia Barbon
3c7896fd3f Change FIXME in TODO and clarify its meaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 17:40:43 +00:00
Włodzimierz Skiba
6b5c476168 Pasting typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 07:22:48 +00:00
Włodzimierz Skiba
7d81eb8cee Full support to the native progress dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 07:08:17 +00:00
Włodzimierz Skiba
974c2a5904 Incomplete (PalmOS) setup compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 07:03:31 +00:00
Vadim Zeitlin
9a84ce0d31 fixed IMPLEMENT_DYNAMIC_CLASS2 macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-02 22:52:22 +00:00
Robert Roebling
b181a50500 Allow to set the various buttons explicitly (and
not through IDs) in the wxStdButtonSizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-01 17:26:30 +00:00
Robert Roebling
acf2ac3757 Applied modified form of the StdButtonSize patch.
Tested on GTK2, MSW and Mac.
  Adapted various generic dialogs to stretch the
    button sizer so that the buttons don't end
    up centered but right aligned.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 18:57:25 +00:00
Stefan Csomor
c3aee5c154 SetFocus fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 13:29:35 +00:00
Włodzimierz Skiba
555f645a40 wxDialog::Show is virtual as elsewhere. Native PalmOS progress dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 07:08:11 +00:00
Włodzimierz Skiba
ecda94753a wxPD_CAN_SKIP for skipping parts of progress and reintroduced wxPD_SMOOTH after removal of modal dialog flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-30 15:07:28 +00:00
Stefan Csomor
3feeb1e1e0 added RequestUserAttention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 10:10:14 +00:00
Włodzimierz Skiba
23a59c2cbe Empty container and design description for native PalmOS wxPrefConfig. Remove MSW configs from PalmOS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 09:48:43 +00:00
David Elliott
4170c465f4 Added wxBitmap::UseAlpha() stub.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 04:00:28 +00:00
George Tasker
549c8cc2fe More parameter variable names fixed to make them more readable by replacing abbreviations with the full word
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 21:32:38 +00:00
George Tasker
b803274045 Non-standard abbreviations of words in function/variable names changed to standard abbreviations or the entire word (e.g. colNo is now colNum)
If SetColDef is called with an out of range index, the function in debug will throw an assert msg, and call wxLogDebug(), and then return without doing anything.  The function now returns a boolean to indicate if the column definition was successfully created or not


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 21:10:12 +00:00
George Tasker
5f72522e58 Implemented a fix to allow Unicode builds to work with MSACCESS. This fix should be tested against other databases also to ensure that the determination of the type to be used for character strings correctly finds that right type in unicode mode for other DBs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 19:22:37 +00:00
George Tasker
215a0070c1 Firebird DB support added. Basic testing is done, and appears to work fully. Need real users to test the additions please
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 00:33:09 +00:00
Włodzimierz Skiba
51496782d1 wxLongLong to wxString operators.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 18:57:21 +00:00
Włodzimierz Skiba
9d8aca4832 Take best fitting type for available memory measurement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 18:47:26 +00:00
Václav Slavík
49a1436640 blind fix for GCC compilation when #pragmas are honored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 08:52:17 +00:00
Włodzimierz Skiba
5445a26cc4 MSW and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 08:36:21 +00:00
Robert Roebling
f7c6f947cf Added TREE_ITEM_MENU event that gets sent if the
user hits the "Menu" key on the newer keyboards.
   So far generic control only.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-26 17:37:59 +00:00
Vadim Zeitlin
ff1ce99740 added SetCmdLine(int, char **) overload even when building a Unicode app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-25 01:58:36 +00:00
Włodzimierz Skiba
12839f76d8 First nonminimal wxPalmOS functionality: enumeration of available volumes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-24 07:44:44 +00:00
Włodzimierz Skiba
f932daffcb wxPalmOS was introduced long after 2.4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-24 07:41:53 +00:00
Robin Dunn
3c1705d911 Updated to SWIG 1.3.24 (plus a patch that corrects a bug and adds back
some things that were changed/removed from my patch I submitted to
them.)

Since it is now possible easily and simply share the SWIG type tables
across modules I reverted to always using the stock SWIG runtime
instead of my slightly hacked up version of it exported via the
wxPython C API.

The %name directive is now deprecated so replaced most uses of it with
a custom %Rename macro that uses %rename internally.  These will
evetually need to be replaced with a DocDecl macro when docstrings are
added.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:53:38 +00:00
Włodzimierz Skiba
47261ba05f Deprecated methosd markup (documented).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:33:04 +00:00
Vadim Zeitlin
dd12ce22d8 fixed background drawing for opaque controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 21:07:33 +00:00
Włodzimierz Skiba
82ef81ed9c Final MSW/PalmOS split. Remove dump copies of MSW specific code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 07:22:25 +00:00
Vadim Zeitlin
57be9aac75 reverted use of DeferWindowPos() instead of MoveWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 01:05:13 +00:00
Włodzimierz Skiba
1296186133 Borland fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-21 16:41:55 +00:00
Włodzimierz Skiba
e2bcbdfbc7 Metric conversion constants not doubled in each port code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-21 16:25:59 +00:00
Stefan Csomor
885fb02fa1 moving Carbon Event Class out of USE_GUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-21 13:50:28 +00:00
Włodzimierz Skiba
4055ed8281 Use __WXPALMOS__ for PalmOS port which fits __WX$(TOOLKIT)__ of bakefiles. Do not depend on MSW macros in PalmOS port. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 12:44:22 +00:00
Vadim Zeitlin
d35dce3a2e end label editing if the control loses focus (slightly modified patch 1084592)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 01:23:52 +00:00
Vadim Zeitlin
4d17215498 added flags parameter to wxExecute(wxArrayString *) overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 00:03:35 +00:00
Vadim Zeitlin
f38f689990 added wxEXEC_NODISABLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 23:59:28 +00:00
Vadim Zeitlin
d70471fe72 corrected wxMAKE_VERSION_STRING and wxMAKE_VERSION_DOT_STRING definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 23:08:43 +00:00
Vadim Zeitlin
9b6ae4506e use DeferWindowPos() instead of MoveWindow() if possible; always use WS_CLIPCHILDREN; never use WS_CLIPSIBLINGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 22:08:47 +00:00
Vadim Zeitlin
cf8ff92f83 moved wxWindow::m_hMenu to wxFrame, it is not needed in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 20:56:38 +00:00
Vadim Zeitlin
4cc4e7b6cc moved ProvidesBackground() from wxUniv to base wxWindow class; use it to prevent inheriting background brush beyond the windows which normally have their own background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 20:51:06 +00:00
Vadim Zeitlin
d1a47dfe23 fixed background appearance for the controls with changed foreground colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 20:15:43 +00:00
Stefan Csomor
a484859779 extended EventRef class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 16:41:41 +00:00
Robert Roebling
5f3565a2fb Fix for the fix for wxChoice selection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-18 13:13:52 +00:00
Ryan Norton
9180b5352f wxMediaCtrl API changes for 2.5.x/2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 16:07:21 +00:00
Vadim Zeitlin
44029ca4ef override AcceptsFocus() inherited from wxStaticBox to accept focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 01:43:19 +00:00
Vadim Zeitlin
47e388caa6 accept focus in radiobox again (broken by making it derive from static box which doesn't accept it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 01:41:47 +00:00
Vadim Zeitlin
aca49b7913 corrected comment about wxRadioBox not deriving from wxStaticBox in wxMSW (now it does)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 01:35:10 +00:00
David Elliott
b6e8e2417d Fixed typo(?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 22:51:10 +00:00
Włodzimierz Skiba
b1263dcfa3 Make ComputeScaleAndOrigin() as virtual part of wxDCBase and this way present on missing platforms. Add into manaul too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 21:24:45 +00:00
Włodzimierz Skiba
d0430ee2ba GCC of PalmOS fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 19:36:11 +00:00
Vadim Zeitlin
976b3cb3d9 added GetBestSize() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 02:39:11 +00:00
Włodzimierz Skiba
e951b8e4e6 Move unused values into 2.4 compatibility. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-15 12:22:51 +00:00
Włodzimierz Skiba
83c5e93495 Be C file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:34:23 +00:00
Vadim Zeitlin
7344726a7a undef CreateWindow too, even if we don't use it ourselves it's still a very common name and shouldn't be defined after including wxWindows headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 21:30:39 +00:00
Włodzimierz Skiba
19edb09cd9 math.h/PI integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 19:54:38 +00:00
Vadim Zeitlin
bdd1a35ddc (blind) wxUniv compilation fix: define the method using wxWindow out of line, i.e. after wxWindow is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 19:42:35 +00:00
Vadim Zeitlin
7249080588 added WX_FORWARD_STD_METHODS_TO_SUBWINDOWS macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:02:32 +00:00
Vadim Zeitlin
bd0a76e228 1. derived wxMSW radio box from static box because it includes the box anyhow
2. changed it to use wxSubwindows to cut down code duplication
3. deprecated Get/SetNumberOfRowsOrCols() which didn't do anything in neither
   MSW nor GTK (this is the only change in GTK code)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:00:35 +00:00
Vadim Zeitlin
b04093c949 use solid bacgkround for static box as pattern brush can't be properly aligned when it is painted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:12:37 +00:00
Vadim Zeitlin
c4a95f6f99 implemented MSWGetBgBrush/ColourForChild() to propagate themed notebook background to children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:11:14 +00:00
Vadim Zeitlin
c5bd3c6268 rewrote and virtualized the background erasing logic: each window may now
specify which background brush should be used for its children and each child
may also choose to use either background brush or (solid) background colour

wxWindow::OnEraseBackground() and wxControl::MSWControlColor() now use the
same code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:09:54 +00:00
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