mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Remove OpenDirectoryDialog
This commit is contained in:
parent
ab06920e74
commit
2b5adacbb9
3 changed files with 0 additions and 8 deletions
|
|
@ -735,12 +735,6 @@ func ErrorDialog() *MessageDialog {
|
|||
return newMessageDialog(ErrorDialogType)
|
||||
}
|
||||
|
||||
// TODO: Why isn't this used?
|
||||
|
||||
func OpenDirectoryDialog() *MessageDialog {
|
||||
return newMessageDialog(OpenDirectoryDialogType)
|
||||
}
|
||||
|
||||
func OpenFileDialog() *OpenFileDialogStruct {
|
||||
return newOpenFileDialog()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ const (
|
|||
QuestionDialogType
|
||||
WarningDialogType
|
||||
ErrorDialogType
|
||||
OpenDirectoryDialogType
|
||||
)
|
||||
|
||||
type Button struct {
|
||||
|
|
|
|||
|
|
@ -213,7 +213,6 @@ func calculateMessageDialogFlags(options MessageDialogOptions) uint32 {
|
|||
}
|
||||
case WarningDialogType:
|
||||
flags = windows.MB_OK | windows.MB_ICONWARNING
|
||||
case OpenDirectoryDialogType:
|
||||
}
|
||||
|
||||
return flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue