|
int | Enter (wxDialog *dialog) |
|
void | Exit (wxDialog *dialog) |
|
bool | IsChild (const wxDialog *dialog) const |
|
Definition at line 102 of file win/FileDialogPrivate.h.
◆ Disabler()
FileDialog::Disabler::Disabler |
( |
| ) |
|
◆ Enter()
int FileDialog::Disabler::Enter |
( |
wxDialog * |
dialog | ) |
|
|
protected |
Definition at line 1178 of file win/FileDialogPrivate.cpp.
1179{
1180 if (
mHwnd != (HWND) INVALID_HANDLE_VALUE)
1181 {
1183 ::EnableWindow(
mHwnd, FALSE);
1185 }
1186 }
1187
1188 return wxID_NONE;
1189}
bool IsChild(const wxDialog *dialog) const
◆ Exit()
void FileDialog::Disabler::Exit |
( |
wxDialog * |
dialog | ) |
|
|
protected |
Definition at line 1191 of file win/FileDialogPrivate.cpp.
1192{
1193 if (
mHwnd != (HWND) INVALID_HANDLE_VALUE)
1194 {
1196 {
1199 {
1200 ::EnableWindow(
mHwnd, TRUE);
1201 ::SetWindowPos(
mHwnd, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
1202 }
1203 }
1204 }
1205}
◆ Init()
void FileDialog::Disabler::Init |
( |
wxWindow * |
root, |
|
|
HWND |
hwnd |
|
) |
| |
◆ IsChild()
bool FileDialog::Disabler::IsChild |
( |
const wxDialog * |
dialog | ) |
const |
|
protected |
Definition at line 1207 of file win/FileDialogPrivate.cpp.
1208{
1209 if (!dialog)
1210 {
1211 return false;
1212 }
1213
1214 for (const wxWindow *w = dialog->GetParent(); w != NULL; w = w->GetParent())
1215 {
1217 {
1218 return true;
1219 }
1220 }
1221
1222 return false;
1223}
References FileDialog::mRoot.
◆ mHwnd
HWND FileDialog::Disabler::mHwnd |
|
private |
◆ mModalCount
int FileDialog::Disabler::mModalCount |
|
private |
◆ mRoot
wxWindow* FileDialog::Disabler::mRoot |
|
private |
The documentation for this class was generated from the following files: