X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d6f582e704041c4b133893183270d4853ea34bac..0149e2778396dfac568e1d381b87b44282e12df5:/docs/latex/wx/window.tex diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index 0df9ac310d..1dae19c773 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -1373,6 +1373,14 @@ that size. \helpref{GetClientSize}{wxwindowgetclientsize} +\membersection{wxWindow::GetWindowBorderSize}\label{wxwindowgetwindowbordersize} + +\constfunc{wxSize}{GetWindowBorderSize}{\void} + +Returns the size of the left/right and top/bottom borders of this window in x +and y components of the result respectively. + + \membersection{wxWindow::GetWindowStyleFlag}\label{wxwindowgetwindowstyleflag} \constfunc{long}{GetWindowStyleFlag}{\void} @@ -3435,7 +3443,8 @@ Identical to \helpref{SetWindowStyleFlag}{wxwindowsetwindowstyleflag}. Sets the style of the window. Please note that some styles cannot be changed after the window creation and that \helpref{Refresh()}{wxwindowrefresh} might -be called after changing the others for the change to take place immediately. +need to be be called after changing the others for the change to take place +immediately. See \helpref{Window styles}{windowstyles} for more information about flags. @@ -3515,6 +3524,28 @@ exactly the same number of times as \helpref{Freeze}{wxwindowfreeze}. \helpref{wxWindowUpdateLocker}{wxwindowupdatelocker} +\membersection{wxWindow::ToggleWindowStyle}\label{wxwindowtogglewindowstyle} + +\func{bool}{ToggleWindowStyle}{\param{int }{flag}} + +Turns the given \arg{flag} on if it's currently turned off and vice versa. +This function cannot be used if the value of the flag is $0$ (which is often +the case for default flags). + +Also, please notice that not all styles can be changed after the control +creation. + +\wxheading{Return value} + +Returns \true if the style was turned on by this function, \false if it was +switched off. + +\wxheading{See also} + +\helpref{wxWindow::SetWindowStyleFlag}{wxwindowsetwindowstyleflag},\rtfsp +\helpref{wxWindow::HasFlag}{wxwindowhasflag} + + \membersection{wxWindow::TransferDataFromWindow}\label{wxwindowtransferdatafromwindow} \func{virtual bool}{TransferDataFromWindow}{\void}