mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-17 00:43:56 +02:00
Fix reopening closed editor windows
This commit is contained in:
+16
-1
@@ -17,6 +17,21 @@
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
/**
|
||||
* A basic RAII wrapper around the Win32 window class system, for use in the
|
||||
* Editor class below.
|
||||
*/
|
||||
class WindowClass {
|
||||
public:
|
||||
WindowClass(std::string name);
|
||||
~WindowClass();
|
||||
|
||||
/**
|
||||
* The Win32 window class registered for the windows window.
|
||||
*/
|
||||
const ATOM atom;
|
||||
};
|
||||
|
||||
/**
|
||||
* A wrapper around the win32 windowing API to create and destroy editor
|
||||
* windows. We can embed this window into the window provided by the host, and a
|
||||
@@ -74,7 +89,7 @@ class Editor {
|
||||
/**
|
||||
* The Win32 window class registered for the windows window.
|
||||
*/
|
||||
ATOM window_class;
|
||||
WindowClass window_class;
|
||||
|
||||
public:
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user