|
wex
v21.04.0
|
Adds a file and / or a hexmode checkbox to wxFileDialog. More...
#include <wex/file-dialog.h>
Inherits wxFileDialog.
Public Member Functions | |
| file_dialog (const data::window &data=data::window().style(wxFD_DEFAULT_STYLE)) | |
| Default constructor. More... | |
| file_dialog (file *file, const data::window &data=data::window().style(wxFD_DEFAULT_STYLE)) | |
| Constructor for file. More... | |
| int | ShowModal () override |
| Virtual interface. | |
| bool | is_hexmode () const |
| Other methods. More... | |
| int | show_modal_if_changed (bool show_modal=false) |
| Shows the dialog depending on the changes on the file. More... | |
Adds a file and / or a hexmode checkbox to wxFileDialog.
The hexmode option can be set by setting wxFD_HEX_MODE in the window::data.
| wex::file_dialog::file_dialog | ( | const data::window & | data = data::window().style(wxFD_DEFAULT_STYLE) | ) |
Default constructor.
| data | window data |
| wex::file_dialog::file_dialog | ( | file * | file, |
| const data::window & | data = data::window().style(wxFD_DEFAULT_STYLE) |
||
| ) |
Constructor for file.
| file | specify file |
| data | window data |
|
inline |
Other methods.
Returns true if hexmode checkbox is (was) checked.
| int wex::file_dialog::show_modal_if_changed | ( | bool | show_modal = false | ) |
Shows the dialog depending on the changes on the file.
If you specify show_modal then dialog is always shown.