Remove OpenDirectoryDialog

This commit is contained in:
Lea Anthony 2024-06-17 08:06:32 +10:00
commit 2b5adacbb9
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405
3 changed files with 0 additions and 8 deletions

View file

@ -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()
}

View file

@ -42,7 +42,6 @@ const (
QuestionDialogType
WarningDialogType
ErrorDialogType
OpenDirectoryDialogType
)
type Button struct {

View file

@ -213,7 +213,6 @@ func calculateMessageDialogFlags(options MessageDialogOptions) uint32 {
}
case WarningDialogType:
flags = windows.MB_OK | windows.MB_ICONWARNING
case OpenDirectoryDialogType:
}
return flags