projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
KDM dialog sizing hack.
[dcpomatic.git]
/
src
/
wx
/
server_dialog.h
diff --git
a/src/wx/server_dialog.h
b/src/wx/server_dialog.h
index 05630c377bf416ded597e32bc14f208206269c93..b434b0e1a1e058a34f9e1e694c66c7173f7dd42a 100644
(file)
--- a/
src/wx/server_dialog.h
+++ b/
src/wx/server_dialog.h
@@
-17,23
+17,16
@@
*/
*/
-#include <wx/wx.h>
-#include <wx/spinctrl.h>
+#include "table_dialog.h"
-class Server;
-
-class ServerDialog : public wxDialog
+class ServerDialog : public TableDialog
{
public:
{
public:
- ServerDialog (wxWindow *
, Server *
);
+ ServerDialog (wxWindow *);
- Server* server () const;
+ void set (std::string);
+ std::string get () const;
private:
private:
- void host_changed (wxCommandEvent &);
- void threads_changed (wxCommandEvent &);
-
- Server* _server;
wxTextCtrl* _host;
wxTextCtrl* _host;
- wxSpinCtrl* _threads;
};
};