Commit Graph

1737 Commits

Author SHA1 Message Date
Robin Dunn
9f88452895 * Implemented BestSize cache
* Added calls to InvalidateBestSize where things affecting BestSize
  are modified.  There are probably several other places where this
  still needs to be done...

* Added wxWindowBase::GetBestFittingSize that will merge the BestSize
  into the MinSize, (if any) and return the result.

* SetBestFittingSize will now only set the MinSize to the value that
  was passed to it, without merging in the BestSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:09:45 +00:00
Václav Slavík
c6eb778541 Removed references to now-deprecated wxNotebookSizer from documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 11:59:38 +00:00
Václav Slavík
30e5722f7f ngettext() macro was removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 20:31:23 +00:00
Václav Slavík
d721baa9e6 allow msgids in !=English languages (based on Stefan Kowski's patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 20:30:32 +00:00
Włodzimierz Skiba
daf3246330 wxParseWildcard renamed to wxParseCommonDialogsFilter. Its usage is extended from generic dialogs to MSW, Motif and other incoming ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 16:58:27 +00:00
Robin Dunn
c0e6c05138 reverted m_adjustMinSize change prepatory for a new approach to fix
the problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:58:13 +00:00
Julian Smart
b325f27f23 Tex2RTF doesn't like {\tt{ thing}}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 07:40:07 +00:00
Robin Dunn
fe161a2685 Controls will readjust their size and minsize when SetLabel or SetFont
are called.  Fixed up wxStaticText to blend the wxST_NO_AUTOSIZE with
this new functionality.  Made SetBestSize public under the
SetBestFittingSize name.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 01:35:10 +00:00
Julian Smart
7517318648 Latex corrections from Marc Albrecht
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 17:57:47 +00:00
Václav Slavík
c6c825d8dd new logic applies to SetFont(wxNullFont), too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:02:27 +00:00
Robin Dunn
ece990873c Updated docs for Set[Fore|Back]groundColour with more hints about
using them with themes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 22:24:21 +00:00
Włodzimierz Skiba
d29bf6775a Better markup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:44:00 +00:00
Włodzimierz Skiba
aaf659419b Missed decoration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 12:28:31 +00:00
Julian Smart
2fa2b11bbf Corrected some spacing and typo errors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 09:25:29 +00:00
Julian Smart
eedc82f4e9 Navigate corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 21:55:18 +00:00
Włodzimierz Skiba
9e152a5578 wxParseWildcard added instead of methods hidden under wxUSE_FILEDLG and wxUSE_DIRDLG.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 15:25:33 +00:00
Julian Smart
5f6cfda79f With wxTE_PROCESS_TAB, tabs are now inserted in the text control
by default. The new Navigate function can be used to do navigation
programmatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 14:03:06 +00:00
Vadim Zeitlin
37db0913a2 corrected erroneous description of Update() argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 10:23:20 +00:00
Julian Smart
24d705907d Added event table macros to wxGrid that take window identifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 23:17:00 +00:00
Julian Smart
e477b168c6 Corrected return type of SetBackgroundColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 16:30:15 +00:00
Dimitri Schoolwerth
a70b2f8001 fixed typo, used word 'assigned' instead of 'allotted'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 12:36:55 +00:00
Dimitri Schoolwerth
75736a9c81 clarified the parameters of MB2WC and WC2MB a little in the docs/headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 12:01:59 +00:00
Vadim Zeitlin
5ac9433d0a fixed OnFrameClose() return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 23:48:17 +00:00
Václav Slavík
45b8a2566d removed unneeded prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 15:38:09 +00:00
Václav Slavík
bd8465ff4e documented wxString's ctors that convert between wc and mb strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 11:17:07 +00:00
Julian Smart
6652e1a765 Added Marco to credits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 12:36:47 +00:00
Václav Slavík
dae73d7473 added wxTaskBarIcon::CreatePopupMenu API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 21:56:29 +00:00
Václav Slavík
393c836c33 changed wxColourData default palette to NULL colours instead of white
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 16:03:03 +00:00
Václav Slavík
85f6b408df split wxRegion(wxBitmap) ctor into two ctors with clearer semantics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 21:13:52 +00:00
Julian Smart
217b71400f Separated creation and initialisation of a document via its doc template.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:19:39 +00:00
Václav Slavík
971562cb51 use current mouse position as default position in wxWindow::PopupMenu (works better in wxGTK and is what you need in majority of cases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:05:30 +00:00
Julian Smart
7445e247fe Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 09:42:50 +00:00
Julian Smart
2f1b667b16 Removed wxHIDE_READONLY flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 16:24:58 +00:00
Václav Slavík
33d4eef0b9 implemented freedesktop.org spec support for GTK version of wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:17:09 +00:00
Václav Slavík
3c5487b144 security fix to wxSingleInstanceChecker: check if the lock file was really created by us
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:07:49 +00:00
Václav Slavík
cc16801fc9 somebody forgot to keep tex2rtf.ini and tex2rtf_css.in in sync
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 16:09:01 +00:00
Václav Slavík
c663fbea68 implemented wxTE_RIGHT, wxTE_CENTRE for wxGTK2 (patch 957687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 10:35:34 +00:00
Julian Smart
c4839ccf58 Regenerated makefiles for 2.5.2
Other version updates
Added list of Cocoa files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 14:12:40 +00:00
Dimitri Schoolwerth
6c43b66ed0 applied patch #940914 "Minor cleaning of warnings in contrib tree"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 23:01:08 +00:00
Włodzimierz Skiba
ecd7e67e49 Patch #940808: Updated list of contributors according to the list available at www.wxwidgets.org/whowhat.htm.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 12:42:57 +00:00
Vadim Zeitlin
89b674772c subdindented paragraphs support (patch 933436)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 18:17:14 +00:00
Robin Dunn
bc253a97e7 Patch #953131
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 16:16:07 +00:00
George Tasker
f9af4e7698 Updates to match current class info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 21:28:25 +00:00
George Tasker
47c17dc4dc For some reason, the ending '}' for the {\small } blocks that I moved the \begin{verbatim} code inside of fails to build correctly if the '}' is on the same line as the \end{verbatim} ... bizarre
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 21:27:10 +00:00
George Tasker
65644ebac2 \begin(verbatim) lines should start at the beginning of a line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 21:02:51 +00:00
George Tasker
e3f17fc869 Fixed a '(' that should have been a '{'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 20:16:43 +00:00
Robin Dunn
d3e8330aa3 Add wxTimerEvent to Events category
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:54:35 +00:00
Vadim Zeitlin
6636004d1c GetThumbLength() doesn't exist, GetThumbSize() does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 13:46:58 +00:00
Julian Smart
fc2171bd4c Name change replacements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 08:27:20 +00:00
Julian Smart
e119d0498a Improved real Latex support
Added missing brace for new perlnote


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 07:17:27 +00:00