summaryrefslogtreecommitdiff
path: root/totpgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'totpgen.h')
-rw-r--r--totpgen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/totpgen.h b/totpgen.h
index f1a368d..8feee9a 100644
--- a/totpgen.h
+++ b/totpgen.h
@@ -16,6 +16,7 @@
#include <wx/dir.h>
#include <wx/clipbrd.h>
#include <wx/regex.h>
+#include <wx/font.h>
static const std::string base32 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
@@ -50,6 +51,7 @@ class TOTPGen : public wxFrame {
wxBoxSizer *TextSizer;
wxStaticText *TOTPField;
+ void ResizeTextToFit(wxStaticText *text_field);
wxString SecretFile;