Note:
'Entered name' columns specify name typed (not selected) 'Filter' columns specify the user selected filter 'Exists' column values specifies:
no
- file does not exist with or without filter extensionyes
- file exists exactly as entered (where 'file' and 'file.' both match 'file' but not 'file.ext')filter
- file exists with filter extension appended but not without
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compile with | |
// | |
// $ cc -Wall -shared -fPIC -o libxcb_debug.so xcb_debug.c `pkg-config --cflags --libs xcb` | |
// | |
// Use with | |
// | |
// $ LD_PRELOAD=libxcb_debug.so any_program_using_xcb | |
#define _GNU_SOURCE | |
#include <dlfcn.h> | |
#include <errno.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <wx/app.h> | |
#include <wx/artprov.h> | |
#include <wx/custombgwin.h> | |
#include <wx/dcclient.h> | |
#include <wx/frame.h> | |
#include <wx/sizer.h> | |
#include <wx/textctrl.h> | |
#include <wx/msw/private.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build glibc 2.28 under Ubuntu 18.04 to be able to use it with node 20. | |
name: Build glibc 2.28 under Ubuntu 18.04 | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: ubuntu:18.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <wx/app.h> | |
#include <wx/frame.h> | |
#include <wx/splitter.h> | |
#include <wx/textctrl.h> | |
class TextCtrlShowingSize : public wxTextCtrl { | |
public: | |
explicit TextCtrlShowingSize(wxWindow* parent) : wxTextCtrl(parent, wxID_ANY, {}) { | |
Bind(wxEVT_SIZE, [this](wxSizeEvent& event) { | |
auto size = event.GetSize(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <wx/app.h> | |
#include <wx/dc.h> | |
#include <wx/frame.h> | |
#include <wx/panel.h> | |
#include <wx/sizer.h> | |
#include <wx/textctrl.h> | |
#include <wx/aui/aui.h> | |
class TestDockArt : public wxAuiDefaultDockArt { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <wx/app.h> | |
#include <wx/dc.h> | |
#include <wx/frame.h> | |
#include <wx/panel.h> | |
#include <wx/sizer.h> | |
#include <wx/textctrl.h> | |
#include <wx/aui/aui.h> | |
class TestDockArt : public wxAuiDefaultDockArt { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <wx/app.h> | |
#include <wx/frame.h> | |
#include <wx/panel.h> | |
#include <wx/sizer.h> | |
#include <wx/textctrl.h> | |
#include <wx/aui/aui.h> | |
class TestPanel : public wxPanel { | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a simple example of a wxWidgets application using window without the | |
// standard "chrome", i.e. title bar and borders. | |
// | |
// With MSVS you can use the provided solution file to build it. With other | |
// compilers, remmeber to link against dwmapi.lib in addition to all the rest. | |
#include "wx/app.h" | |
#include "wx/button.h" | |
#include "wx/dcclient.h" | |
#include "wx/frame.h" | |
#include "wx/graphics.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Build with | |
$ cc -Wall -O2 -fPIC -shared -o libfix_wl_display_flush.so fix_wl_display_flush.c | |
Use as | |
$ LD_PRELOAD=libfix_wl_display_flush.so ./app | |
*/ | |
#define _GNU_SOURCE |
NewerOlder