Skip to content

Commit

Permalink
Hopefully, this wxPanelWrapper will work with both VS2013 and VS2017.
Browse files Browse the repository at this point in the history
  • Loading branch information
henricj committed Oct 17, 2018
1 parent 7a1ecc4 commit cf4e98e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/widgets/wxPanelWrapper.h
Expand Up @@ -12,6 +12,7 @@
#include "../MemoryX.h"
#include <wx/panel.h>
#include <wx/dialog.h>
#include <wx/windowid.h>

#include "../Internat.h"

Expand Down Expand Up @@ -39,7 +40,12 @@ class AUDACITY_DLL_API wxPanelWrapper : public wxTabTraversalWrapper<wxPanel>
{
public:
// Constructors
wxPanelWrapper() {}
wxPanelWrapper() = default;

wxPanelWrapper(const wxPanelWrapper&) = delete;
wxPanelWrapper& operator=(const wxPanelWrapper&) = delete;
wxPanelWrapper(wxPanelWrapper&&) = delete;
wxPanelWrapper& operator=(wxPanelWrapper&&) = delete;

wxPanelWrapper(
wxWindow *parent,
Expand Down Expand Up @@ -72,7 +78,7 @@ class AUDACITY_DLL_API wxDialogWrapper : public wxTabTraversalWrapper<wxDialog>
{
public:
// Constructors
wxDialogWrapper() {}
wxDialogWrapper() = default;

// Constructor with no modal flag - the new convention.
wxDialogWrapper(
Expand Down Expand Up @@ -144,7 +150,7 @@ class AUDACITY_DLL_API wxDirDialogWrapper : public wxTabTraversalWrapper<wxDirDi
class AUDACITY_DLL_API FileDialogWrapper : public wxTabTraversalWrapper<FileDialog>
{
public:
FileDialogWrapper() {}
FileDialogWrapper() = default;

// Constructor with no modal flag - the new convention.
FileDialogWrapper(
Expand Down

0 comments on commit cf4e98e

Please sign in to comment.