Implement SysColorChangeListener directly on Windows
This commit is contained in:
parent
25bcc2dd0d
commit
38281f3364
3 changed files with 17 additions and 26 deletions
|
@ -14,7 +14,11 @@ namespace atom {
|
|||
|
||||
namespace api {
|
||||
|
||||
SystemPreferences::SystemPreferences(v8::Isolate* isolate) {
|
||||
SystemPreferences::SystemPreferences(v8::Isolate* isolate)
|
||||
#if defined(OS_WIN)
|
||||
: color_change_listener_(this)
|
||||
#endif
|
||||
{
|
||||
Init(isolate);
|
||||
#if defined(OS_WIN)
|
||||
InitializeWindow();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue